videoscale: remove formats Y800 and Y16 which no longer exist from template caps

Should help with the unit test, which has been failing.
This commit is contained in:
Tim-Philipp Müller 2012-07-16 23:56:56 +01:00
parent a1d2abbde6
commit e29098f8f0

View file

@ -112,10 +112,11 @@ enum
#undef GST_VIDEO_SIZE_RANGE
#define GST_VIDEO_SIZE_RANGE "(int) [ 1, 32767]"
/* FIXME: if we can do NV12, NV21 shouldn't be so hard */
#define GST_VIDEO_FORMATS "{ I420, YV12, YUY2, UYVY, AYUV, RGBx, " \
"BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, " \
"BGR, Y41B, Y42B, YVYU, Y444, GRAY8, GRAY16_BE, GRAY16_LE, " \
"v308, Y800, Y16, RGB16, RGB15, ARGB64, AYUV64, NV12 } "
"v308, RGB16, RGB15, ARGB64, AYUV64, NV12 } "
static GstStaticCaps gst_video_scale_format_caps =
@ -398,8 +399,8 @@ get_formats_filter (GstVideoScaleMethod method)
GST_STATIC_CAPS ("video/x-raw,"
"format = (string) { RGBx, xRGB, BGRx, xBGR, RGBA, "
"ARGB, BGRA, ABGR, AYUV, ARGB64, AYUV64, "
"RGB, BGR, v308, YUY2, YVYU, UYVY, Y800, "
"GRAY8, GRAY16_LE, GRAY16_BE, Y16, I420, YV12, "
"RGB, BGR, v308, YUY2, YVYU, UYVY, "
"GRAY8, GRAY16_LE, GRAY16_BE, I420, YV12, "
"Y444, Y42B, Y41B, RGB16, RGB15 }");
return gst_static_caps_get (&fourtap_filter);
}