projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ab5a23
)
aggregator: Only count buffers when declaring queue full
author
Olivier Crête
<olivier.crete@collabora.com>
Thu, 7 Jul 2016 15:47:40 +0000
(11:47 -0400)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 2 Dec 2017 15:10:27 +0000
(15:10 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=781673
libs/gst/base/gstaggregator.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstaggregator.c
b/libs/gst/base/gstaggregator.c
index
6661bdf
..
305c840
100644
(file)
--- a/
libs/gst/base/gstaggregator.c
+++ b/
libs/gst/base/gstaggregator.c
@@
-2091,7
+2091,7
@@
static gboolean
gst_aggregator_pad_has_space (GstAggregator * self, GstAggregatorPad * aggpad)
{
/* Empty queue always has space */
- if (
g_queue_get_length (&aggpad->priv->buffers)
== 0)
+ if (
aggpad->priv->num_buffers
== 0)
return TRUE;
/* We also want at least two buffers, one is being processed and one is ready