- Flush the bus so messages aren't leaked
- Fix pad leak
https://bugzilla.gnome.org/show_bug.cgi?id=766561
mysinkpads = NULL;
g_object_unref (deinterleave);
+ gst_bus_set_flushing (bus, TRUE);
g_object_unref (bus);
gst_caps_unref (caps);
+ gst_object_unref (mysrcpad);
}
GST_END_TEST;
mysinkpads = NULL;
g_object_unref (deinterleave);
+ gst_bus_set_flushing (bus, TRUE);
g_object_unref (bus);
gst_caps_unref (caps);
+ gst_object_unref (mysrcpad);
}
GST_END_TEST;
mysinkpads = NULL;
g_object_unref (deinterleave);
+ gst_bus_set_flushing (bus, TRUE);
g_object_unref (bus);
gst_caps_unref (caps);
gst_caps_unref (caps2);
+ gst_object_unref (mysrcpad);
}
GST_END_TEST;