convert: use new caps
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 25 Aug 2011 14:30:49 +0000 (16:30 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 25 Aug 2011 14:30:49 +0000 (16:30 +0200)
gst-libs/gst/video/convertframe.c

index a71efd8..4e9eb45 100644 (file)
@@ -31,8 +31,7 @@ caps_are_raw (const GstCaps * caps)
 
   for (i = 0; i < len; i++) {
     GstStructure *st = gst_caps_get_structure (caps, i);
-    if (gst_structure_has_name (st, "video/x-raw-yuv") ||
-        gst_structure_has_name (st, "video/x-raw-rgb"))
+    if (gst_structure_has_name (st, "video/x-raw"))
       return TRUE;
   }