mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
ext/ffmpeg/gstffmpegenc.c: Caps weren't set on outgoing audio buffers.
Original commit message from CVS: Reviewed by : Edward Hervey <edward@fluendo.com> * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio): Caps weren't set on outgoing audio buffers. Closes #327861
This commit is contained in:
parent
3c1bbb0a60
commit
86c5ad28d2
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2006-01-20 Michal Benes <michael.benes@xeris.cz>
|
||||
|
||||
Reviewed by : Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_chain_audio):
|
||||
Caps weren't set on outgoing audio buffers.
|
||||
Closes #327861
|
||||
|
||||
2006-01-17 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_chain):
|
||||
|
|
|
@ -621,6 +621,7 @@ gst_ffmpegenc_chain_audio (GstPad * pad, GstBuffer * inbuf)
|
|||
GST_BUFFER_SIZE (outbuf) = ret_size;
|
||||
GST_BUFFER_TIMESTAMP (outbuf) = GST_BUFFER_TIMESTAMP (subbuf);
|
||||
GST_BUFFER_DURATION (outbuf) = GST_BUFFER_DURATION (subbuf);
|
||||
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (ffmpegenc->srcpad));
|
||||
gst_buffer_unref (subbuf);
|
||||
|
||||
ret = gst_pad_push (ffmpegenc->srcpad, outbuf);
|
||||
|
|
Loading…
Reference in a new issue