mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
decodebin: Initialize local variables for every retry
This commit is contained in:
parent
21e9f84486
commit
22a138b716
1 changed files with 9 additions and 4 deletions
|
@ -4020,12 +4020,17 @@ debug_sticky_event (GstPad * pad, GstEvent ** event, gpointer user_data)
|
|||
static gboolean
|
||||
gst_decode_bin_expose (GstDecodeBin * dbin)
|
||||
{
|
||||
GList *tmp, *endpads = NULL;
|
||||
gboolean missing_plugin = FALSE;
|
||||
gboolean already_exposed = TRUE;
|
||||
gboolean last_group = TRUE;
|
||||
GList *tmp, *endpads;
|
||||
gboolean missing_plugin;
|
||||
gboolean already_exposed;
|
||||
gboolean last_group;
|
||||
|
||||
retry:
|
||||
endpads = NULL;
|
||||
missing_plugin = FALSE;
|
||||
already_exposed = TRUE;
|
||||
last_group = TRUE;
|
||||
|
||||
GST_DEBUG_OBJECT (dbin, "Exposing currently active chains/groups");
|
||||
|
||||
/* Don't expose if we're currently shutting down */
|
||||
|
|
Loading…
Reference in a new issue