[vlc-devel] [PATCH] opengl: don't expose gl_subpicture_chromas in header file

Zhao Zhili quinkblack at foxmail.com
Thu May 3 10:05:59 CEST 2018


---
 modules/video_output/opengl/vout_helper.c | 5 +++++
 modules/video_output/opengl/vout_helper.h | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/video_output/opengl/vout_helper.c b/modules/video_output/opengl/vout_helper.c
index f4a8e4f..bbd156b 100644
--- a/modules/video_output/opengl/vout_helper.c
+++ b/modules/video_output/opengl/vout_helper.c
@@ -171,6 +171,11 @@ struct vout_display_opengl_t {
     float f_sar;
 };
 
+static const vlc_fourcc_t gl_subpicture_chromas[] = {
+    VLC_CODEC_RGBA,
+    0
+};
+
 static const GLfloat identity[] = {
     1.0f, 0.0f, 0.0f, 0.0f,
     0.0f, 1.0f, 0.0f, 0.0f,
diff --git a/modules/video_output/opengl/vout_helper.h b/modules/video_output/opengl/vout_helper.h
index bc76ad9..01c7976 100644
--- a/modules/video_output/opengl/vout_helper.h
+++ b/modules/video_output/opengl/vout_helper.h
@@ -205,11 +205,6 @@ static const char * const dither_text[] = {
     add_module("glconv", "glconv", NULL, GLCONV_TEXT, GLCONV_LONGTEXT) \
     add_glopts_placebo ()
 
-static const vlc_fourcc_t gl_subpicture_chromas[] = {
-    VLC_CODEC_RGBA,
-    0
-};
-
 typedef struct vout_display_opengl_t vout_display_opengl_t;
 
 vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
-- 
2.9.5





More information about the vlc-devel mailing list