queue2: Update buffering status and maybe post buffering message right when enabling buffering

This commit is contained in:
Sebastian Dröge 2014-03-19 09:33:53 +01:00
parent f53f4ddca4
commit 7d7511a4b3

View file

@ -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);