tests: Fix unit test of videotestsrc
authorThijs Vermeir <thijsvermeir@gmail.com>
Thu, 16 Sep 2010 12:55:55 +0000 (14:55 +0200)
committerThijs Vermeir <thijsvermeir@gmail.com>
Thu, 16 Sep 2010 13:00:22 +0000 (15:00 +0200)
Use UYVY for unit tests, it's exactly the same as Y422.
(which is currently disabled in videotestsrc)

tests/check/elements/videotestsrc.c

index 1d889cf..5a743ba 100644 (file)
@@ -41,7 +41,7 @@ static GstPad *mysinkpad;
 
 #define CAPS_TEMPLATE_STRING            \
     "video/x-raw-yuv, "                 \
-    "format = (fourcc) Y422, "          \
+    "format = (fourcc) UYVY, "          \
     "width = (int) [ 1,  MAX ], "       \
     "height = (int) [ 1,  MAX ], "      \
     "framerate = (fraction) [ 0/1, MAX ]"