mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
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.
This commit is contained in:
parent
219f485c2c
commit
f647a79aa8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue