aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/opengl_enc.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2017-02-21 02:06:06 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2017-02-22 00:10:25 +0100
commit2ac381088d05d377a97e7e6900cf6e9c0375df0f (patch)
tree0f620086d99c5a9bb8cba3692cbe32a9d7101d12 /libavdevice/opengl_enc.c
parent770ac75ae9cb08a3c5c8f0915f48f9ca4161f5fd (diff)
downloadffmpeg-2ac381088d05d377a97e7e6900cf6e9c0375df0f.tar.gz
lavd/opengl_enc: Support BGR48.
Diffstat (limited to 'libavdevice/opengl_enc.c')
-rw-r--r--libavdevice/opengl_enc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c
index 94259a2289..3e643b0974 100644
--- a/libavdevice/opengl_enc.c
+++ b/libavdevice/opengl_enc.c
@@ -261,6 +261,7 @@ static const struct OpenGLFormatDesc {
{ AV_PIX_FMT_RGB8, &FF_OPENGL_FRAGMENT_SHADER_RGB_PACKET, GL_RGB, FF_GL_UNSIGNED_BYTE_3_3_2 },
{ AV_PIX_FMT_BGR8, &FF_OPENGL_FRAGMENT_SHADER_RGB_PACKET, GL_RGB, FF_GL_UNSIGNED_BYTE_2_3_3_REV },
{ AV_PIX_FMT_RGB48, &FF_OPENGL_FRAGMENT_SHADER_RGB_PACKET, GL_RGB, GL_UNSIGNED_SHORT },
+ { AV_PIX_FMT_BGR48, &FF_OPENGL_FRAGMENT_SHADER_RGB_PACKET, GL_RGB, GL_UNSIGNED_SHORT },
{ AV_PIX_FMT_ARGB, &FF_OPENGL_FRAGMENT_SHADER_RGBA_PACKET, GL_RGBA, GL_UNSIGNED_BYTE },
{ AV_PIX_FMT_RGBA, &FF_OPENGL_FRAGMENT_SHADER_RGBA_PACKET, GL_RGBA, GL_UNSIGNED_BYTE },
{ AV_PIX_FMT_ABGR, &FF_OPENGL_FRAGMENT_SHADER_RGBA_PACKET, GL_RGBA, GL_UNSIGNED_BYTE },