diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-07-06 11:50:53 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-07-06 11:50:53 +0200 |
commit | 0fc94cd7b0e43c81765ab457fbcf8e9acbcb4f02 (patch) | |
tree | 66a48925ad03b7ede2e0de37f8ca63292503aead | |
parent | 9baf930a89cd4062d0a1389dcccc6d0cc4f7b827 (diff) | |
download | gstreamer-plugins-bad-0fc94cd7b0e43c81765ab457fbcf8e9acbcb4f02.tar.gz |
update for query api changes
-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); |