videoscale: fix bus leak in test

gst_bus_add_signal_watch() takes a ref on the bus which should be
released using gst_bus_remove_signal_watch().

https://bugzilla.gnome.org/show_bug.cgi?id=768718
This commit is contained in:
Guillaume Desmottes 2016-07-12 12:03:53 +02:00 committed by Sebastian Dröge
parent 9f594d1562
commit 54e4551cd8

View file

@ -633,6 +633,7 @@ _test_negotiation (const gchar * src_templ, const gchar * sink_templ,
g_signal_connect (bus, "message", G_CALLBACK (_test_negotiation_message),
&data);
gst_bus_remove_signal_watch (bus);
gst_object_unref (bus);
fail_unless (gst_element_set_state (pipeline,