mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
Revert "multiqueue: handle UNEXPECTED flowreturn better"
This reverts commit fbdf4dceda
.
Partly fixes #609274
This commit is contained in:
parent
795495519a
commit
9cc47f8cba
2 changed files with 2 additions and 9 deletions
|
@ -917,13 +917,6 @@ gst_single_queue_push_one (GstMultiQueue * mq, GstSingleQueue * sq,
|
|||
gst_pad_set_caps (sq->srcpad, caps);
|
||||
|
||||
result = gst_pad_push (sq->srcpad, buffer);
|
||||
|
||||
if (result == GST_FLOW_UNEXPECTED) {
|
||||
GST_LOG_OBJECT (mq, "got UNEXPECTED from downstream");
|
||||
/* FIXME, dequeue items until we see EOS or NEWSEGMENT. If the queue is
|
||||
* empty, set a flag so that we pass unexpected upstream. */
|
||||
result = GST_FLOW_OK;
|
||||
}
|
||||
} else if (GST_IS_EVENT (object)) {
|
||||
GstEvent *event;
|
||||
|
||||
|
|
|
@ -479,13 +479,13 @@ run_output_order_test (gint n_linked)
|
|||
|
||||
/* Wait while the buffers are processed */
|
||||
g_mutex_lock (mutex);
|
||||
while (eos_seen < NPADS) {
|
||||
while (eos_seen < 5) {
|
||||
g_cond_wait (cond, mutex);
|
||||
}
|
||||
g_mutex_unlock (mutex);
|
||||
|
||||
/* Clean up */
|
||||
for (i = 0; i < NPADS; i++) {
|
||||
for (i = 0; i < 5; i++) {
|
||||
GstPad *mq_input = gst_pad_get_peer (inputpads[i]);
|
||||
|
||||
gst_pad_unlink (inputpads[i], mq_input);
|
||||
|
|
Loading…
Reference in a new issue