gst-discoverer: remove extraneous variable

This commit is contained in:
Mark Nauwelaerts 2012-01-19 16:35:04 +01:00
parent be34d4c78e
commit 656423bd65

View file

@ -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);
}