Revert "videoconvert: We can handle GST_VIDEO_META_API"
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 5 Dec 2011 19:33:41 +0000 (20:33 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 5 Dec 2011 19:33:41 +0000 (20:33 +0100)
This reverts commit bd539753eb098c37afa033065f122712bf85f53a.

Adding the supported metadata to the query does nothing at this stage. Proposing
allocation parameters and supported metadata for upstream should use the
propose_allocation vmethod.

gst/videoconvert/gstvideoconvert.c

index 3041b27..3c5eadb 100644 (file)
@@ -176,9 +176,6 @@ gst_video_convert_decide_allocation (GstBaseTransform * trans, GstQuery * query)
         GST_BUFFER_POOL_OPTION_VIDEO_META);
     gst_buffer_pool_set_config (pool, config);
   }
-
-  gst_query_add_allocation_meta (query, GST_VIDEO_META_API);
-
   return TRUE;
 }