[MOVED FROM BAD 117/134] update for query api changes
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 Jul 2012 09:50:53 +0000 (11:50 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 16 Sep 2012 13:31:10 +0000 (15:31 +0200)
ext/vp8/gstvp8enc.c

index a941350..2eae696 100644 (file)
@@ -1234,7 +1234,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);