video: Return TRUE in gst_video_format_is_gray() for Y800 and Y16

This commit is contained in:
Sebastian Dröge 2010-06-08 11:01:44 +02:00
parent d7f7e1cc23
commit 80cc85d218

View file

@ -963,6 +963,8 @@ gst_video_format_is_gray (GstVideoFormat format)
case GST_VIDEO_FORMAT_GRAY8:
case GST_VIDEO_FORMAT_GRAY16_BE:
case GST_VIDEO_FORMAT_GRAY16_LE:
case GST_VIDEO_FORMAT_Y800:
case GST_VIDEO_FORMAT_Y16:
return TRUE;
default:
return FALSE;