From f647a79aa8a341a0e21738d7639ff817d5d23887 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 13 Mar 2017 14:28:47 +1100 Subject: [PATCH] gl/format: use our own GL format enum's instead of gstvideo's They can describe in more detail (such as component sizes) the requested format. --- ext/qt/gstqtsrc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/qt/gstqtsrc.cc b/ext/qt/gstqtsrc.cc index 518a5f3faf..1cf9592b56 100644 --- a/ext/qt/gstqtsrc.cc +++ b/ext/qt/gstqtsrc.cc @@ -393,7 +393,7 @@ gst_qt_src_decide_allocation (GstBaseSrc * bsrc, GstQuery * query) glparams = gst_gl_video_allocation_params_new (qt_src->context, ¶ms, &vinfo, 0, - NULL, GST_GL_TEXTURE_TARGET_2D, GST_VIDEO_GL_TEXTURE_TYPE_RGBA); + NULL, GST_GL_TEXTURE_TARGET_2D, GST_GL_RGBA); gst_buffer_pool_config_set_gl_allocation_params (config, (GstGLAllocationParams *) glparams); gst_gl_allocation_params_free ((GstGLAllocationParams *) glparams);