From 7e973911956bb3d6de01bf88d46e8d0d465774d0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 25 Aug 2011 16:30:49 +0200 Subject: [PATCH] convert: use new caps --- gst-libs/gst/video/convertframe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst-libs/gst/video/convertframe.c b/gst-libs/gst/video/convertframe.c index a71efd8..4e9eb45 100644 --- a/gst-libs/gst/video/convertframe.c +++ b/gst-libs/gst/video/convertframe.c @@ -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; } -- 2.7.4