gst-plugins-base: gst-discoverer: remove extraneous variable
Mark Nauwelaerts
mnauw at kemper.freedesktop.org
Thu Jan 19 07:51:45 PST 2012
Module: gst-plugins-base
Branch: master
Commit: 656423bd6530538621c626dccd399841a8b461cf
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=656423bd6530538621c626dccd399841a8b461cf
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