mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
checks: set pipeline back to NULL state in GstBus unit test
Fixes timeout in gst_task_cleanup_all().
This commit is contained in:
parent
7e6966faf6
commit
a6c84b2ae6
1 changed files with 2 additions and 0 deletions
|
@ -557,6 +557,8 @@ GST_START_TEST (test_custom_main_context)
|
||||||
GST_INFO ("running event loop, ctx=%p", ctx);
|
GST_INFO ("running event loop, ctx=%p", ctx);
|
||||||
g_main_loop_run (loop);
|
g_main_loop_run (loop);
|
||||||
|
|
||||||
|
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||||
|
|
||||||
/* clean up */
|
/* clean up */
|
||||||
if (ctx)
|
if (ctx)
|
||||||
g_main_context_unref (ctx);
|
g_main_context_unref (ctx);
|
||||||
|
|
Loading…
Reference in a new issue