From ee5a96429394e5a9df592372094ad0000b5e4a52 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 13 May 2009 13:47:58 +0200 Subject: [PATCH] gstffmpegdec: Don't forget to copy over the reordered_opaque in our buffers. This is to be on-par with the default get_buffer() implementation (which is detailed in libavcodec/utils.c). --- ext/ffmpeg/gstffmpegdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index dff095c..9a2d436 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -900,6 +900,7 @@ gst_ffmpegdec_get_buffer (AVCodecContext * context, AVFrame * picture) * picture back from ffmpeg we can use this to correctly timestamp the output * buffer */ picture->pts = ffmpegdec->in_ts; + picture->reordered_opaque = context->reordered_opaque; /* make sure we don't free the buffer when it's not ours */ picture->opaque = NULL; -- 2.7.4