mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
queue2: Update buffering status and maybe post buffering message right when enabling buffering
This commit is contained in:
parent
f53f4ddca4
commit
7d7511a4b3
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue