From: <sl...@ke...> - 2010-06-08 09:04:21
|
Module: gst-plugins-base Branch: master Commit: 80cc85d2188da5ad347ca4c85cf046f5590af7eb URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=80cc85d2188da5ad347ca4c85cf046f5590af7eb Author: Sebastian Dröge <seb...@co...> Date: Tue Jun 8 11:01:44 2010 +0200 video: Return TRUE in gst_video_format_is_gray() for Y800 and Y16 --- gst-libs/gst/video/video.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gst-libs/gst/video/video.c b/gst-libs/gst/video/video.c index 176f315..c644b71 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; |