From: Wim Taymans Date: Fri, 6 Jul 2012 09:50:53 +0000 (+0200) Subject: update for query api changes X-Git-Tag: 1.19.3~507^2~15313 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fc94cd7b0e43c81765ab457fbcf8e9acbcb4f02;p=platform%2Fupstream%2Fgstreamer.git update for query api changes --- diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index d57e0b4..886b1bf 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 b0963cb..1b59601 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);