diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c index 7213ab6972..7a7b97dc86 100644 --- a/ext/theora/gsttheoraenc.c +++ b/ext/theora/gsttheoraenc.c @@ -1041,7 +1041,7 @@ theora_enc_finish (GstVideoEncoder * benc) static gboolean theora_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/gst-libs/gst/video/gstvideofilter.c b/gst-libs/gst/video/gstvideofilter.c index aafe093390..97d12a49ca 100644 --- a/gst-libs/gst/video/gstvideofilter.c +++ b/gst-libs/gst/video/gstvideofilter.c @@ -98,7 +98,7 @@ gst_video_filter_propose_allocation (GstBaseTransform * trans, 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, 0); + gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL); return TRUE; diff --git a/gst/videoconvert/gstvideoconvert.c b/gst/videoconvert/gstvideoconvert.c index 3edf934d62..2c779d9d1d 100644 --- a/gst/videoconvert/gstvideoconvert.c +++ b/gst/videoconvert/gstvideoconvert.c @@ -160,7 +160,7 @@ gst_video_convert_fixate_caps (GstBaseTransform * trans, static gboolean gst_video_convert_filter_meta (GstBaseTransform * trans, GstQuery * query, - GType api, guint flags) + GType api, const GstStructure * params) { /* propose all metadata upstream */ return TRUE; diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 76662b77fe..4724bddde0 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -1480,8 +1480,8 @@ gst_ximagesink_propose_allocation (GstBaseSink * bsink, GstQuery * query) } /* we also support various metadata */ - 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); + gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL); + gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE, NULL); return TRUE; diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index 03364c6bab..cc1c23b9a9 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -1991,8 +1991,8 @@ gst_xvimagesink_propose_allocation (GstBaseSink * bsink, GstQuery * query) } /* we also support various metadata */ - 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); + gst_query_add_allocation_meta (query, GST_VIDEO_META_API_TYPE, NULL); + gst_query_add_allocation_meta (query, GST_VIDEO_CROP_META_API_TYPE, NULL); return TRUE;