[0.10] gst-plugins-base: gst-discoverer: remove extraneous variable
Tim Müller
tpm at kemper.freedesktop.org
Thu Jan 19 15:49:13 PST 2012
Module: gst-plugins-base
Branch: 0.10
Commit: bea1a111a027270680dfd9bf908184cfc4f26547
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=bea1a111a027270680dfd9bf908184cfc4f26547
Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date: Thu Jan 19 16:35:04 2012 +0100
gst-discoverer: remove extraneous variable
---
tools/gst-discoverer.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/tools/gst-discoverer.c b/tools/gst-discoverer.c
index c6d6092..d7fc3ce 100644
--- a/tools/gst-discoverer.c
+++ b/tools/gst-discoverer.c
@@ -411,7 +411,6 @@ process_file (GstDiscoverer * dc, const gchar * filename)
GDir *dir;
gchar *uri, *path;
GstDiscovererInfo *info;
- GstStructure *st = NULL;
if (!gst_uri_is_valid (filename)) {
/* Recurse into directories */
@@ -459,8 +458,6 @@ process_file (GstDiscoverer * dc, const gchar * filename)
if (err)
g_error_free (err);
gst_discoverer_info_unref (info);
- if (st)
- gst_structure_free (st);
} else {
gst_discoverer_discover_uri_async (dc, uri);
}
More information about the gstreamer-commits
mailing list