mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
multiqueue: Wake up the queues if limits are changing in a way that would unblock the queue
This commit is contained in:
parent
914012de70
commit
eba6f7d972
1 changed files with 3 additions and 0 deletions
|
@ -480,6 +480,7 @@ gst_multi_queue_finalize (GObject * object)
|
|||
GstSingleQueue *q = (GstSingleQueue*)tmp->data; \
|
||||
q->max_size.format = mq->max_size.format; \
|
||||
update_buffering (mq, q); \
|
||||
gst_data_queue_limits_changed (q->queue); \
|
||||
tmp = g_list_next(tmp); \
|
||||
}; \
|
||||
} G_STMT_END
|
||||
|
@ -519,6 +520,7 @@ gst_multi_queue_set_property (GObject * object, guint prop_id,
|
|||
q->max_size.visible = new_size;
|
||||
}
|
||||
update_buffering (mq, q);
|
||||
gst_data_queue_limits_changed (q->queue);
|
||||
tmp = g_list_next (tmp);
|
||||
}
|
||||
|
||||
|
@ -563,6 +565,7 @@ gst_multi_queue_set_property (GObject * object, guint prop_id,
|
|||
while (tmp) {
|
||||
GstSingleQueue *q = (GstSingleQueue *) tmp->data;
|
||||
update_buffering (mq, q);
|
||||
gst_data_queue_limits_changed (q->queue);
|
||||
tmp = g_list_next (tmp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue