convert: use new caps

This commit is contained in:
Wim Taymans 2011-08-25 16:30:49 +02:00
parent 81457756f0
commit 7e97391195

View 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;
}