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

Anuradha Suraparaju asuraparaju
Fri Nov 19 04:05:38 CET 2010


New patch attached where I am not checking reordered_opaque.

Regards,
Anuradha

On Wed, Nov 17, 2010 at 2:03 AM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpegsvn_25766_schro_decoding_patch.diff
Type: text/x-patch
Size: 6430 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101119/b1be997c/attachment.bin>



More information about the ffmpeg-devel mailing list