mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
video: Return TRUE in gst_video_format_is_gray() for Y800 and Y16
This commit is contained in:
parent
d7f7e1cc23
commit
80cc85d218
1 changed files with 2 additions and 0 deletions
|
@ -963,6 +963,8 @@ gst_video_format_is_gray (GstVideoFormat format)
|
||||||
case GST_VIDEO_FORMAT_GRAY8:
|
case GST_VIDEO_FORMAT_GRAY8:
|
||||||
case GST_VIDEO_FORMAT_GRAY16_BE:
|
case GST_VIDEO_FORMAT_GRAY16_BE:
|
||||||
case GST_VIDEO_FORMAT_GRAY16_LE:
|
case GST_VIDEO_FORMAT_GRAY16_LE:
|
||||||
|
case GST_VIDEO_FORMAT_Y800:
|
||||||
|
case GST_VIDEO_FORMAT_Y16:
|
||||||
return TRUE;
|
return TRUE;
|
||||||
default:
|
default:
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue