projects
/
platform
/
upstream
/
gst-libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26b94d
)
gstffmpegdec: Don't forget to copy over the reordered_opaque in our buffers.
author
Edward Hervey
<bilboed@bilboed.com>
Wed, 13 May 2009 11:47:58 +0000
(13:47 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Wed, 13 May 2009 11:47:58 +0000
(13:47 +0200)
This is to be on-par with the default get_buffer() implementation (which is
detailed in libavcodec/utils.c).
ext/ffmpeg/gstffmpegdec.c
patch
|
blob
|
history
diff --git
a/ext/ffmpeg/gstffmpegdec.c
b/ext/ffmpeg/gstffmpegdec.c
index
dff095c
..
9a2d436
100644
(file)
--- 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;