projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc4b46
)
glformat: Add missing GST_GL_RGB565 in some switch statement
author
Haihua Hu
<jared.hu@nxp.com>
Wed, 17 May 2017 08:26:38 +0000
(16:26 +0800)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 29 May 2017 07:49:00 +0000
(10:49 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=782736
gst-libs/gst/gl/gstglformat.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglformat.c
b/gst-libs/gst/gl/gstglformat.c
index 36aecf2e3dfb5463cd3d83e550bfb6894798c950..e449688462f8e6bed99a72aa4b2e5f33c83b78bc 100644
(file)
--- a/
gst-libs/gst/gl/gstglformat.c
+++ b/
gst-libs/gst/gl/gstglformat.c
@@
-58,6
+58,7
@@
_gl_format_n_components (guint format)
case GST_VIDEO_GL_TEXTURE_TYPE_RGB:
case GST_VIDEO_GL_TEXTURE_TYPE_RGB16:
case GST_GL_RGB:
+ case GST_GL_RGB565:
return 3;
case GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE_ALPHA:
case GST_VIDEO_GL_TEXTURE_TYPE_RG:
@@
-257,6
+258,7
@@
gst_gl_sized_gl_format_from_gl_format_type (GstGLContext * context,
break;
case GST_GL_RGBA8:
case GST_GL_RGB8:
+ case GST_GL_RGB565:
case GST_GL_RG8:
case GST_GL_R8:
case GST_GL_LUMINANCE: