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
f2dc791479
commit
402ab38f07
@ -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…
x
Reference in New Issue
Block a user