wavpack: Remove bus GSource to prevent a valgrind warning

This commit is contained in:
Sebastian Dröge 2011-04-18 12:01:07 +02:00
parent c8ae803df9
commit 39ae129aa6
2 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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)