videoscale: Fix comparision
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 30 Mar 2012 08:19:29 +0000 (10:19 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 30 Mar 2012 09:56:18 +0000 (11:56 +0200)
tests/check/elements/videoscale.c

index 6e738d51532ac3c6ce7d2a1663ad38bd4417b4a0..6e58d89e6baab59dbe71395d8b879bf324c31537 100644 (file)
@@ -88,7 +88,7 @@ caps_is_supported (const GstCaps * caps)
 
   return (fmt == GST_VIDEO_FORMAT_ARGB64 || fmt == GST_VIDEO_FORMAT_AYUV64
       || fmt == GST_VIDEO_FORMAT_GRAY8 || fmt == GST_VIDEO_FORMAT_GRAY16_BE
-      || GST_VIDEO_FORMAT_GRAY16_LE);
+      || fmt == GST_VIDEO_FORMAT_GRAY16_LE);
 }
 
 static void