From: Wim Taymans Date: Fri, 6 Jul 2012 09:50:50 +0000 (+0200) Subject: update for query api changes X-Git-Tag: 1.19.3~509^2~6904 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16b8e2d171df28bf4640f2f6fcfcb6dc7870c7f2;p=platform%2Fupstream%2Fgstreamer.git update for query api changes --- diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c index 647ff31..98df1af 100644 --- a/ext/aalib/gstaasink.c +++ b/ext/aalib/gstaasink.c @@ -349,7 +349,7 @@ gst_aasink_propose_allocation (GstBaseSink * bsink, GstQuery * query) gst_query_add_allocation_pool (query, NULL, size, 2, 0); /* we support various metadata */ - 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/ext/jpeg/gstjpegenc.c b/ext/jpeg/gstjpegenc.c index 8ba8042..e9173ff 100644 --- a/ext/jpeg/gstjpegenc.c +++ b/ext/jpeg/gstjpegenc.c @@ -533,7 +533,7 @@ invalid_frame: static gboolean gst_jpegenc_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/ext/libpng/gstpngenc.c b/ext/libpng/gstpngenc.c index 96dbbc5..d13fa65 100644 --- a/ext/libpng/gstpngenc.c +++ b/ext/libpng/gstpngenc.c @@ -371,7 +371,7 @@ longjmp_fail: static gboolean gst_pngenc_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/v4l2/gstv4l2sink.c b/sys/v4l2/gstv4l2sink.c index b368d9a..a01e5fb 100644 --- a/sys/v4l2/gstv4l2sink.c +++ b/sys/v4l2/gstv4l2sink.c @@ -653,8 +653,8 @@ gst_v4l2sink_propose_allocation (GstBaseSink * bsink, GstQuery * query) gst_query_add_allocation_pool (query, pool, size, 2, 0); /* 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); if (pool) gst_object_unref (pool);