[523/906] update for meta API changes

This commit is contained in:
Matthew Waters 2012-07-08 01:11:56 +10:00
parent 1ec68db8f0
commit 3d7788dabb
2 changed files with 4 additions and 3 deletions

View file

@ -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);

View file

@ -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);