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

Zhao Zhili git at videolan.org
Thu May 3 11:33:08 CEST 2018


vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Thu May  3 16:05:59 2018 +0800| [eb7f8b0f10862bcca8238f8530dade7209ce5b8c] | committer: Hugo Beauzée-Luyssen

opengl: don't expose gl_subpicture_chromas in header file

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb7f8b0f10862bcca8238f8530dade7209ce5b8c
---

 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 f4a8e4f0d7..bbd156bb85 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 bc76ad956e..01c79769a9 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,



More information about the vlc-commits mailing list