Hi!
Will apply if I there are no objections.
Thank you, Carl Eugen
From 2ebd6b283c5c881bf57fa3b0fe7d352ef447f117 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos
Date: Tue, 21 Feb 2017 02:06:06 +0100
Subject: [PATCH] lavd/opengl_enc: Support BGR48.
---
libavdevice/opengl_enc.c |1 +
1 file changed, 1 insertion(+)
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c
index 94259a2..3e643b0 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 },
--
1.7.10.4
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel