summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-07-06 11:50:50 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2012-07-06 11:50:50 +0200
commit16b8e2d171df28bf4640f2f6fcfcb6dc7870c7f2 (patch)
treeafe1c6f72da10b3bc54e909eff314106b947f1a4 /sys
parent8eadb9c12cd6677885150d86a37020cdd6fa9293 (diff)
update for query api changes
Diffstat (limited to 'sys')
-rw-r--r--sys/v4l2/gstv4l2sink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/v4l2/gstv4l2sink.c b/sys/v4l2/gstv4l2sink.c
index b368d9af9..a01e5fbb5 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);