diff options
-rw-r--r-- | ext/vp8/gstvp8enc.c | 2 | ||||
-rw-r--r-- | sys/pvr2d/gstpvrvideosink.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index d57e0b4bc..886b1bf7b 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -1213,7 +1213,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); diff --git a/sys/pvr2d/gstpvrvideosink.c b/sys/pvr2d/gstpvrvideosink.c index b0963cbdb..1b5960188 100644 --- a/sys/pvr2d/gstpvrvideosink.c +++ b/sys/pvr2d/gstpvrvideosink.c @@ -1024,7 +1024,7 @@ gst_pvrvideosink_propose_allocation (GstBaseSink * bsink, GstQuery * 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); |