static gboolean
gst_vp8_enc_propose_allocation (GstVideoEncoder * encoder, GstQuery * query)
{
- gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, 0);
+ gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL);
return GST_VIDEO_ENCODER_CLASS (parent_class)->propose_allocation (encoder,
query);
gst_query_set_allocation_params (query, size, 3, 0, 0, 0, pool);
/* we also support various metadata */
- gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API);
+ gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API, NULL);
gst_object_unref (pool);