mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
ext/ffmpeg/gstffmpegdec.c: Revert previous, we cannot call pad_alloc_buffer() before being negotiated.
Original commit message from CVS: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame): Revert previous, we cannot call pad_alloc_buffer() before being negotiated.
This commit is contained in:
parent
9e4fe3eaaf
commit
735b7d7bb9
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-04-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
|
||||
Revert previous, we cannot call pad_alloc_buffer() before being
|
||||
negotiated.
|
||||
|
||||
2005-04-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
|
||||
|
|
|
@ -645,8 +645,7 @@ gst_ffmpegdec_frame (GstFFMpegDec * ffmpegdec,
|
|||
ffmpegdec->context->width, ffmpegdec->context->height);
|
||||
|
||||
ffmpegdec->waiting_for_key = FALSE;
|
||||
outbuf = gst_pad_alloc_buffer (ffmpegdec->srcpad,
|
||||
GST_BUFFER_OFFSET_NONE, fsize);
|
||||
outbuf = gst_buffer_new_and_alloc (fsize);
|
||||
|
||||
/* original ffmpeg code does not handle odd sizes correctly.
|
||||
* This patched up version does */
|
||||
|
|
Loading…
Reference in a new issue