mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
interaudiosrc: Set the GAP flag on buffers that only contain silence
This commit is contained in:
parent
36ade75f4a
commit
3d1cd1011b
1 changed files with 1 additions and 0 deletions
|
@ -372,6 +372,7 @@ gst_inter_audio_src_create (GstBaseSrc * src, guint64 offset, guint size,
|
|||
n * bpf);
|
||||
} else {
|
||||
buffer = gst_buffer_new ();
|
||||
GST_BUFFER_FLAG_SET (buffer, GST_BUFFER_FLAG_GAP);
|
||||
}
|
||||
g_mutex_unlock (&interaudiosrc->surface->mutex);
|
||||
|
||||
|
|
Loading…
Reference in a new issue