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:
Matthew Waters 2016-08-04 23:14:41 +10:00 committed by Tim-Philipp Müller
parent 4cd94ddd25
commit 6b635559cd

View file

@ -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: