projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
336e134
)
Reset queued_bytes counter when flushing
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 23 Jan 2009 10:07:05 +0000
(11:07 +0100)
committer
Wim Taymans
<wim@wtay.(none)>
Fri, 23 Jan 2009 10:11:31 +0000
(11:11 +0100)
Set the amount of queued bytes in the internal queue back to 0 when we clear the
queue.
Fixes #567982
gst-libs/gst/app/gstappsrc.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/app/gstappsrc.c
b/gst-libs/gst/app/gstappsrc.c
index
0df865e
..
52b0b87
100644
(file)
--- a/
gst-libs/gst/app/gstappsrc.c
+++ b/
gst-libs/gst/app/gstappsrc.c
@@
-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