mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
[523/906] update for meta API changes
This commit is contained in:
parent
1ec68db8f0
commit
3d7788dabb
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue