mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 21:01:14 +00:00
ffmpegdec: Set caps on outgoing audio buffers
This commit is contained in:
parent
fe1a971b31
commit
a30b434b53
1 changed files with 1 additions and 0 deletions
|
@ -2133,6 +2133,7 @@ gst_ffmpegdec_audio_frame (GstFFMpegDec * ffmpegdec,
|
|||
GST_BUFFER_TIMESTAMP (*outbuf) = out_timestamp;
|
||||
GST_BUFFER_DURATION (*outbuf) = out_duration;
|
||||
GST_BUFFER_OFFSET (*outbuf) = out_offset;
|
||||
gst_buffer_set_caps (*outbuf, GST_PAD_CAPS (ffmpegdec->srcpad));
|
||||
|
||||
/* the next timestamp we'll use when interpolating */
|
||||
ffmpegdec->next_out = out_timestamp + out_duration;
|
||||
|
|
Loading…
Reference in a new issue