mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gltestsrc: Ensure variable is initialized before usage
Coverity CID: 1256569
This commit is contained in:
parent
aebec9bd24
commit
88038884a8
1 changed files with 1 additions and 1 deletions
|
@ -770,7 +770,7 @@ gst_gl_test_src_decide_allocation (GstBaseSrc * basesrc, GstQuery * query)
|
|||
guint idx;
|
||||
guint out_width, out_height;
|
||||
GstGLContext *other_context = NULL;
|
||||
gboolean same_downstream_gl_context;
|
||||
gboolean same_downstream_gl_context = FALSE;
|
||||
|
||||
if (!gst_gl_ensure_element_data (src, &src->display, &src->other_context))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue