From 3d7788dabbc6b1c8eff594675a7b4f9e534a3e12 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Sun, 8 Jul 2012 01:11:56 +1000 Subject: [PATCH] [523/906] update for meta API changes --- gst/gl/gstglimagesink.c | 3 ++- gst/gl/gstglupload.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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);