From: Sebastian Dröge Date: Tue, 11 Jun 2013 08:25:02 +0000 (+0200) Subject: gst-launch: Remove unref that should not be there X-Git-Tag: 1.1.2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff47fe72abf83be5f45c90695237827e2b814127;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/tools/gst-launch.c b/tools/gst-launch.c index d43a30e..61a17a4 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -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);