mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
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:
parent
246c4a7cf4
commit
6526548962
1 changed files with 3 additions and 2 deletions
|
@ -942,9 +942,10 @@ generate_jif_file_with_tags_from_taglist (GstTagList * taglist,
|
|||
fail_if (gst_element_set_state (pipeline, GST_STATE_PLAYING) ==
|
||||
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);
|
||||
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_object_unref (bus);
|
||||
|
|
Loading…
Reference in a new issue