jifmux: tests: Increase bus waiting timeout

Double bus waiting timeout as sometimes the test would fail
because it would timeout and get no messages from the bus.
This commit is contained in:
Thiago Santos 2011-02-24 09:29:51 -03:00
parent 246c4a7cf4
commit 6526548962

View file

@ -942,9 +942,10 @@ generate_jif_file_with_tags_from_taglist (GstTagList * taglist,
fail_if (gst_element_set_state (pipeline, GST_STATE_PLAYING) == fail_if (gst_element_set_state (pipeline, GST_STATE_PLAYING) ==
GST_STATE_CHANGE_FAILURE); GST_STATE_CHANGE_FAILURE);
msg = gst_bus_timed_pop_filtered (bus, GST_SECOND * 5, GST_MESSAGE_EOS | msg = gst_bus_timed_pop_filtered (bus, GST_SECOND * 10, GST_MESSAGE_EOS |
GST_MESSAGE_ERROR); GST_MESSAGE_ERROR);
fail_if (!msg || GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR); fail_if (!msg);
fail_if (GST_MESSAGE_TYPE (msg) == GST_MESSAGE_ERROR);
gst_message_unref (msg); gst_message_unref (msg);
gst_object_unref (bus); gst_object_unref (bus);