mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
wavpack: Remove bus GSource to prevent a valgrind warning
This commit is contained in:
parent
c8ae803df9
commit
39ae129aa6
2 changed files with 4 additions and 4 deletions
|
@ -90,8 +90,6 @@ run_test (const gchar * pipeline_string)
|
|||
|
||||
g_signal_connect (bus, "message", (GCallback) on_message_cb, &omud);
|
||||
|
||||
gst_object_unref (bus);
|
||||
|
||||
ret = gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
||||
fail_unless (ret == GST_STATE_CHANGE_SUCCESS
|
||||
|| ret == GST_STATE_CHANGE_ASYNC);
|
||||
|
@ -105,6 +103,8 @@ run_test (const gchar * pipeline_string)
|
|||
|
||||
gst_object_unref (pipeline);
|
||||
g_main_loop_unref (loop);
|
||||
gst_bus_remove_signal_watch (bus);
|
||||
gst_object_unref (bus);
|
||||
}
|
||||
|
||||
GST_START_TEST (test_mpeg2)
|
||||
|
|
|
@ -105,8 +105,6 @@ run_test (const gchar * pipeline_string, gint n_pads_expected)
|
|||
|
||||
g_signal_connect (bus, "message", (GCallback) on_message_cb, &omud);
|
||||
|
||||
gst_object_unref (bus);
|
||||
|
||||
ret = gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
||||
fail_unless (ret == GST_STATE_CHANGE_SUCCESS
|
||||
|| ret == GST_STATE_CHANGE_ASYNC);
|
||||
|
@ -121,6 +119,8 @@ run_test (const gchar * pipeline_string, gint n_pads_expected)
|
|||
|
||||
gst_object_unref (pipeline);
|
||||
g_main_loop_unref (loop);
|
||||
gst_bus_remove_signal_watch (bus);
|
||||
gst_object_unref (bus);
|
||||
}
|
||||
|
||||
GST_START_TEST (test_mpeg2)
|
||||
|
|
Loading…
Reference in a new issue