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 committed by Tim-Philipp Müller
parent 8f59549ec5
commit 2833e8c63a

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;