decodebin: Initialize local variables for every retry
This commit is contained in:
parent
21e9f84486
commit
22a138b716
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user