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

Reimar Döffinger Reimar.Doeffinger
Wed Nov 24 00:45:49 CET 2010


On Wed, Nov 24, 2010 at 10:27:06AM +1100, Anuradha Suraparaju wrote:
> Does it mean that the decoder can set the reordered_opaque field in AVFrame
> to the value of reordered_opaque in AVCodecContext and nothing else? E.g in
> rawdec.c the reordered_opaque field in the frame is set to the value in
> AVCodecContext in raw_decode. Is this the only correct usage?

This. Of course the idea is that the value in AVCodecContext will be
different for each decode call, and the value in the AVFrame should be
the one that the AVCodecContext had when the encoded data for that frame
was run through decode.



More information about the ffmpeg-devel mailing list