tis 2022-08-23 klockan 14:18 +0200 skrev Andreas Rheinhardt:
> Paul B Mahol:
> > Hi,
> > 
> > patch attached.
> > 
> >              return ret;
> >      }
> >  
> > +    pkt->duration = av_rescale_q(pict->duration, (AVRational){ 1,
> > 100 },
> > +                                 avctx->time_base);
> >      pkt->size   = outbuf_ptr - pkt->data;
> >      if (s->image || !avctx->frame_number)
> >          pkt->flags |= AV_PKT_FLAG_KEY;
> 
> Where does the magic 1/100 timebase come from?

From the spec

/Tomas

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to