mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
ext/ffmpeg/gstffmpegdec.c: Use gst_pad_alloc_buffer().
Original commit message from CVS: * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame): Use gst_pad_alloc_buffer().
This commit is contained in:
parent
15ffb2974a
commit
9e4fe3eaaf
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-04-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_frame):
|
||||
Use gst_pad_alloc_buffer().
|
||||
|
||||
2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_handle_event):
|
||||
|
|
|
@ -645,7 +645,8 @@ gst_ffmpegdec_frame (GstFFMpegDec * ffmpegdec,
|
|||
ffmpegdec->context->width, ffmpegdec->context->height);
|
||||
|
||||
ffmpegdec->waiting_for_key = FALSE;
|
||||
outbuf = gst_buffer_new_and_alloc (fsize);
|
||||
outbuf = gst_pad_alloc_buffer (ffmpegdec->srcpad,
|
||||
GST_BUFFER_OFFSET_NONE, fsize);
|
||||
|
||||
/* original ffmpeg code does not handle odd sizes correctly.
|
||||
* This patched up version does */
|
||||
|
|
Loading…
Reference in a new issue