update for query api changes
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 Jul 2012 09:50:44 +0000 (11:50 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 Jul 2012 09:50:44 +0000 (11:50 +0200)
ext/theora/gsttheoraenc.c
gst-libs/gst/video/gstvideofilter.c
gst/videoconvert/gstvideoconvert.c
sys/ximage/ximagesink.c
sys/xvimage/xvimagesink.c

index 7213ab6..7a7b97d 100644 (file)
@@ -1041,7 +1041,7 @@ theora_enc_finish (GstVideoEncoder * benc)
 static gboolean
 theora_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);
index aafe093..97d12a4 100644 (file)
@@ -98,7 +98,7 @@ gst_video_filter_propose_allocation (GstBaseTransform * trans,
   gst_query_add_allocation_pool (query, pool, size, 0, 0);
   gst_object_unref (pool);
 
-  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;
 
index 3edf934..2c779d9 100644 (file)
@@ -160,7 +160,7 @@ gst_video_convert_fixate_caps (GstBaseTransform * trans,
 
 static gboolean
 gst_video_convert_filter_meta (GstBaseTransform * trans, GstQuery * query,
-    GType api, guint flags)
+    GType api, const GstStructure * params)
 {
   /* propose all metadata upstream */
   return TRUE;
index 76662b7..4724bdd 100644 (file)
@@ -1480,8 +1480,8 @@ gst_ximagesink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
   }
 
   /* 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);
 
   return TRUE;
 
index 03364c6..cc1c23b 100644 (file)
@@ -1991,8 +1991,8 @@ gst_xvimagesink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
   }
 
   /* 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);
 
   return TRUE;