From: Tim-Philipp Müller Date: Mon, 16 Jul 2012 22:56:56 +0000 (+0100) Subject: videoscale: remove formats Y800 and Y16 which no longer exist from template caps X-Git-Tag: RELEASE-0.11.93~130 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e29098f8f02fa082ecfdef844023f0fbafeb8339;p=platform%2Fupstream%2Fgst-plugins-base.git videoscale: remove formats Y800 and Y16 which no longer exist from template caps Should help with the unit test, which has been failing. --- diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c index ae29309..75aa284 100644 --- a/gst/videoscale/gstvideoscale.c +++ b/gst/videoscale/gstvideoscale.c @@ -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); }