gst-launch: Remove unref that should not be there

We keep a reference to the context around all the time.

https://bugzilla.gnome.org/show_bug.cgi?id=701985
This commit is contained in:
Sebastian Dröge 2013-06-11 10:25:02 +02:00
parent b7ad14984b
commit ff47fe72ab

View file

@ -922,7 +922,6 @@ bus_sync_handler (GstBus * bus, GstMessage * message, gpointer data)
s1 = gst_context_get_structure (context_new);
s2 = gst_context_writable_structure (context);
gst_structure_foreach (s1, merge_structures, s2);
gst_context_unref (context);
} else {
/* Copy over the context */
gst_context_replace (&context, context_new);