gltestsrc: Ensure variable is initialized before usage

Coverity CID: 1256569
This commit is contained in:
Edward Hervey 2015-01-23 12:41:29 +01:00
parent aebec9bd24
commit 88038884a8

View file

@ -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;