diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index a9413504fc..2eae696943 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -1234,7 +1234,7 @@ gst_vp8_enc_sink_event (GstVideoEncoder * benc, GstEvent * event) 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);