decodebin: Initialize local variables for every retry

This commit is contained in:
Sebastian Dröge 2014-08-25 16:22:46 +03:00
parent 21e9f84486
commit 22a138b716

View File

@ -4020,12 +4020,17 @@ debug_sticky_event (GstPad * pad, GstEvent ** event, gpointer user_data)
static gboolean static gboolean
gst_decode_bin_expose (GstDecodeBin * dbin) gst_decode_bin_expose (GstDecodeBin * dbin)
{ {
GList *tmp, *endpads = NULL; GList *tmp, *endpads;
gboolean missing_plugin = FALSE; gboolean missing_plugin;
gboolean already_exposed = TRUE; gboolean already_exposed;
gboolean last_group = TRUE; gboolean last_group;
retry: retry:
endpads = NULL;
missing_plugin = FALSE;
already_exposed = TRUE;
last_group = TRUE;
GST_DEBUG_OBJECT (dbin, "Exposing currently active chains/groups"); GST_DEBUG_OBJECT (dbin, "Exposing currently active chains/groups");
/* Don't expose if we're currently shutting down */ /* Don't expose if we're currently shutting down */