mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
Reset queued_bytes counter when flushing
Set the amount of queued bytes in the internal queue back to 0 when we clear the queue. Fixes #567982
This commit is contained in:
parent
336e1346e4
commit
26256b95c8
1 changed files with 1 additions and 0 deletions
|
@ -501,6 +501,7 @@ gst_app_src_flush_queued (GstAppSrc * src)
|
|||
|
||||
while ((buf = g_queue_pop_head (src->priv->queue)))
|
||||
gst_buffer_unref (buf);
|
||||
src->priv->queued_bytes = 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue