[FFmpeg-devel] [PATCH]Fix bug in setting the pts when decoding or transcoding Dirac video wrapped in MPEG-TS using libschroedingerdec.c

Carl Eugen Hoyos cehoyos
Tue Nov 16 16:03:14 CET 2010


Anuradha Suraparaju <asuraparaju <at> gmail.com> writes:

> > > +            if (avccontext->reordered_opaque != AV_NOPTS_VALUE) {
> > > +                FfmpegSchroPktTS *pktts =
> >
> > reordered_opaque is as it says opaque, you shouldn't check it
> > for av_nopts_value. we (xbmc) put a double in it for example.
> >
> >
> Hmmmm... In function output_packet  in ffmpeg.c, reordered_opaque is set to
> pkt_pts which is initialised to  AV_NOPTS_VALUE

So you could use this check in ffmpeg.c (but not in libavcodec).

Carl Eugen




More information about the ffmpeg-devel mailing list