From d91e3d8d78b2689d6f5daee1434bfb97085160ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 12 Jun 2010 13:00:26 +0200 Subject: [PATCH] videoscale: Use GST_VIDEO_CAPS_GRAY{8,16} --- gst/videoscale/gstvideoscale.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/gst/videoscale/gstvideoscale.c b/gst/videoscale/gstvideoscale.c index 908224c7f0..faceb01564 100644 --- a/gst/videoscale/gstvideoscale.c +++ b/gst/videoscale/gstvideoscale.c @@ -101,17 +101,8 @@ static GstStaticCaps gst_video_scale_format_caps[] = { GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("Y41B")), GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB_16), GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB_15), - GST_STATIC_CAPS ("video/x-raw-gray, " - "bpp = 16, " - "depth = 16, " - "endianness = BYTE_ORDER, " - "width = " GST_VIDEO_SIZE_RANGE ", " - "height = " GST_VIDEO_SIZE_RANGE ", " "framerate = " GST_VIDEO_FPS_RANGE), - GST_STATIC_CAPS ("video/x-raw-gray, " - "bpp = 8, " - "depth = 8, " - "width = " GST_VIDEO_SIZE_RANGE ", " - "height = " GST_VIDEO_SIZE_RANGE ", " "framerate = " GST_VIDEO_FPS_RANGE), + GST_STATIC_CAPS (GST_VIDEO_CAPS_GRAY16 ("BYTE_ORDER")), + GST_STATIC_CAPS (GST_VIDEO_CAPS_GRAY8), GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("Y800")) };