diff --git a/gst/gl/gstglimagesink.c b/gst/gl/gstglimagesink.c index d6ca64d933..1de02d6ad6 100644 --- a/gst/gl/gstglimagesink.c +++ b/gst/gl/gstglimagesink.c @@ -709,7 +709,8 @@ gst_glimage_sink_propose_allocation (GstBaseSink * bsink, GstQuery * query) gst_query_add_allocation_pool (query, pool, size, 2, 0); /* we also support various metadata */ - gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE); + gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0); + gst_query_add_allocation_meta (query, GST_GL_META_API_TYPE, 0); gst_object_unref (pool); diff --git a/gst/gl/gstglupload.c b/gst/gl/gstglupload.c index 1ed95b2c46..3f55cb5c21 100644 --- a/gst/gl/gstglupload.c +++ b/gst/gl/gstglupload.c @@ -955,9 +955,9 @@ gst_gl_upload_propose_allocation (GstBaseTransform * trans, gst_query_add_allocation_pool (query, pool, size, 2, 0); /* we also support various metadata */ - gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE); + gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0); //gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE); - gst_query_add_allocation_meta (query, GST_GL_META_API_TYPE); + gst_query_add_allocation_meta (query, GST_GL_META_API_TYPE, 0); gst_object_unref (pool);