mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 21:06:17 +00:00
glcolorconvert: add missing rgb16 and bgr16 video formats in switch
Fixes an assertion that code should not be reached https://bugzilla.gnome.org/show_bug.cgi?id=769462
This commit is contained in:
parent
4cd94ddd25
commit
6b635559cd
1 changed files with 2 additions and 0 deletions
|
@ -1358,6 +1358,8 @@ _get_n_textures (GstVideoFormat v_format)
|
|||
case GST_VIDEO_FORMAT_GRAY16_BE:
|
||||
case GST_VIDEO_FORMAT_YUY2:
|
||||
case GST_VIDEO_FORMAT_UYVY:
|
||||
case GST_VIDEO_FORMAT_RGB16:
|
||||
case GST_VIDEO_FORMAT_BGR16:
|
||||
return 1;
|
||||
case GST_VIDEO_FORMAT_NV12:
|
||||
case GST_VIDEO_FORMAT_NV21:
|
||||
|
|
Loading…
Reference in a new issue