static gboolean
theora_enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query)
{
- gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE);
+ gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
return GST_VIDEO_ENCODER_CLASS (parent_class)->propose_allocation (encoder,
query);
gst_query_add_allocation_pool (query, pool, size, 0, 0);
gst_object_unref (pool);
- gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE);
+ gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
return TRUE;
static gboolean
gst_video_convert_filter_meta (GstBaseTransform * trans, GstQuery * query,
- GType api)
+ GType api, guint flags)
{
/* propose all metadata upstream */
return TRUE;
}
/* we also support various metadata */
- gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE);
- gst_query_add_allocation_meta (query, GST_VIDEO_CROP_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, 0);
return TRUE;
}
/* we also support various metadata */
- gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE);
- gst_query_add_allocation_meta (query, GST_VIDEO_CROP_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, 0);
return TRUE;