video: Return TRUE in gst_video_format_is_gray() for Y800 and Y16
This commit is contained in:
parent
d7f7e1cc23
commit
80cc85d218
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user