Commit 5e63a0f6 authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

adder: Set GAP flag on silence buffers we created

parent 667b856c
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment