From 1bc924d8add4791c526105452ede3894db6cc5b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 20 Apr 2010 18:22:16 +0200 Subject: [PATCH] videoflip: Drop Y41B/Y42B support MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Rotating 90°/270° with subsampled YUV where horizontal and vertical subsampling are different doesn't really work. --- gst/videofilter/gstvideoflip.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gst/videofilter/gstvideoflip.c b/gst/videofilter/gstvideoflip.c index 9b52a3b..837bae1 100644 --- a/gst/videofilter/gstvideoflip.c +++ b/gst/videofilter/gstvideoflip.c @@ -68,7 +68,7 @@ static GstStaticPadTemplate gst_video_flip_src_template = GST_PAD_SRC, GST_PAD_ALWAYS, GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV - ("{ IYUV, I420, YV12, Y41B, Y42B, Y444, AYUV }") ";" + ("{ IYUV, I420, YV12, Y444, AYUV }") ";" GST_VIDEO_CAPS_ARGB ";" GST_VIDEO_CAPS_BGRA ";" GST_VIDEO_CAPS_ABGR ";" GST_VIDEO_CAPS_RGBA ";" GST_VIDEO_CAPS_xRGB ";" GST_VIDEO_CAPS_RGBx ";" @@ -81,7 +81,7 @@ static GstStaticPadTemplate gst_video_flip_sink_template = GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV - ("{ IYUV, I420, YV12, Y41B, Y42B, Y444, AYUV }") ";" + ("{ IYUV, I420, YV12, Y444, AYUV }") ";" GST_VIDEO_CAPS_ARGB ";" GST_VIDEO_CAPS_BGRA ";" GST_VIDEO_CAPS_ABGR ";" GST_VIDEO_CAPS_RGBA ";" GST_VIDEO_CAPS_xRGB ";" GST_VIDEO_CAPS_RGBx ";" @@ -616,8 +616,6 @@ gst_video_flip_set_caps (GstBaseTransform * btrans, GstCaps * incaps, switch (vf->format) { case GST_VIDEO_FORMAT_I420: case GST_VIDEO_FORMAT_YV12: - case GST_VIDEO_FORMAT_Y41B: - case GST_VIDEO_FORMAT_Y42B: case GST_VIDEO_FORMAT_Y444: vf->process = gst_video_flip_planar_yuv; break; -- 2.7.4