summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-06-08 11:01:44 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-06-08 11:01:44 +0200
commit80cc85d2188da5ad347ca4c85cf046f5590af7eb (patch)
tree39964c92d5a167591bfa12d9a6dbd26ed48361e3
parentd7f7e1cc23e29c601769776c52e755e56a3227ba (diff)
video: Return TRUE in gst_video_format_is_gray() for Y800 and Y16
-rw-r--r--gst-libs/gst/video/video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c
index 176f315ac..c644b7113 100644
--- a/gst-libs/gst/video/video.c
+++ b/gst-libs/gst/video/video.c
@@ -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;