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:
f53f4dd
)
queue2: Update buffering status and maybe post buffering message right when enabling...
author
Sebastian Dröge
<sebastian@centricular.com>
Wed, 19 Mar 2014 08:33:53 +0000
(09:33 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 19 Mar 2014 08:48:45 +0000
(09:48 +0100)
plugins/elements/gstqueue2.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstqueue2.c
b/plugins/elements/gstqueue2.c
index 00dd57296f2ef322139ac257fa92400b63f9e059..a03cc0c23021e96bc61faf5dd395009ee768df51 100644
(file)
--- a/
plugins/elements/gstqueue2.c
+++ b/
plugins/elements/gstqueue2.c
@@
-3394,6
+3394,11
@@
gst_queue2_set_property (GObject * object,
queue->is_buffering = FALSE;
gst_element_post_message (GST_ELEMENT_CAST (queue), msg);
}
+
+ if (queue->use_buffering) {
+ queue->is_buffering = TRUE;
+ update_buffering (queue);
+ }
break;
case PROP_USE_RATE_ESTIMATE:
queue->use_rate_estimate = g_value_get_boolean (value);