[225/906] fix a regression that made the gltestsrc element not working
authorJulien Isorce <julien.isorce@gmail.com>
Thu, 18 Sep 2008 19:13:37 +0000 (21:13 +0200)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:28 +0000 (18:36 +0100)
gst-libs/gst/gl/gstgldisplay.c

index 27d7310..72bc5aa 100644 (file)
@@ -183,7 +183,7 @@ gst_gl_display_init (GstGLDisplay *display, GstGLDisplayClass *klass)
   display->upload_intex_v = 0;
   display->upload_width = 0;
   display->upload_height = 0;
-  display->upload_video_format = 0;
+  display->upload_video_format = GST_VIDEO_FORMAT_RGBx;
   display->upload_colorspace_conversion = GST_GL_DISPLAY_CONVERSION_MESA;
   display->upload_data_width = 0;
   display->upload_data_height = 0;