mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
adder: Set GAP flag on silence buffers we created
This commit is contained in:
parent
667b856cbc
commit
5e63a0f674
1 changed files with 1 additions and 0 deletions
|
@ -1454,6 +1454,7 @@ gst_adder_collected (GstCollectPads * pads, gpointer user_data)
|
|||
gst_buffer_map (outbuf, &map, GST_MAP_WRITE);
|
||||
gst_audio_format_fill_silence (adder->info.finfo, map.data, outsize);
|
||||
gst_buffer_unmap (outbuf, &map);
|
||||
GST_BUFFER_FLAG_SET (outbuf, GST_BUFFER_FLAG_GAP);
|
||||
} else {
|
||||
/* assume EOS otherwise, this should not happen, really */
|
||||
goto eos;
|
||||
|
|
Loading…
Reference in a new issue