summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-06-11 10:25:02 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-06-11 10:25:02 +0200
commitff47fe72abf83be5f45c90695237827e2b814127 (patch)
tree16c46f9a13b0a0c82e2c700f3af435e60c45cab5 /tools
parentb7ad14984be321aba76c4c3a7c6dc3972f74a1c9 (diff)
downloadgstreamer-ff47fe72abf83be5f45c90695237827e2b814127.tar.gz
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
Diffstat (limited to 'tools')
-rw-r--r--tools/gst-launch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/gst-launch.c b/tools/gst-launch.c
index d43a30ebf5..61a17a40ae 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);