mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
multiqueue: fix warning: ‘is_query’ may be used uninitialized in this function
Fixes: ../plugins/elements/gstmultiqueue.c: In function ‘gst_multi_queue_loop’: ../plugins/elements/gstmultiqueue.c:2394:19: warning: ‘is_query’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2394 | if (object && !is_query) | ^~~~~~~~~ Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2593>
This commit is contained in:
parent
6e48a3ec28
commit
64ad82e00c
1 changed files with 2 additions and 1 deletions
|
@ -2118,7 +2118,8 @@ gst_multi_queue_loop (GstPad * pad)
|
|||
guint32 newid;
|
||||
GstFlowReturn result;
|
||||
GstClockTimeDiff next_time;
|
||||
gboolean is_buffer, is_query;
|
||||
gboolean is_buffer;
|
||||
gboolean is_query = FALSE;
|
||||
gboolean do_update_buffering = FALSE;
|
||||
gboolean dropping = FALSE;
|
||||
GstPad *srcpad = NULL;
|
||||
|
|
Loading…
Reference in a new issue