[vlc-devel] [PATCH v4 06/23] video_output: don't include control.h in include shared across the core

Steve Lhomme robux4 at ycbcr.xyz
Fri Aug 21 11:59:24 CEST 2020


They don't need to know about it.
---
 src/video_output/control.c       | 1 +
 src/video_output/vout_internal.h | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_output/control.c b/src/video_output/control.c
index fd0c80fe6eb..b4a9a71165f 100644
--- a/src/video_output/control.c
+++ b/src/video_output/control.c
@@ -27,6 +27,7 @@
 #include <vlc_common.h>
 #include <vlc_vout.h>
 #include "vout_internal.h"
+#include "control.h"
 
 /* */
 void vout_control_cmd_Init(vout_control_cmd_t *cmd, int type)
diff --git a/src/video_output/vout_internal.h b/src/video_output/vout_internal.h
index 3f5a81c98eb..45334ece3c7 100644
--- a/src/video_output/vout_internal.h
+++ b/src/video_output/vout_internal.h
@@ -47,7 +47,6 @@ typedef struct {
     vlc_mouse_event      mouse_event;
     void                 *mouse_opaque;
 } vout_configuration_t;
-#include "control.h"
 
 /**
  * Creates a video output.
-- 
2.26.2



More information about the vlc-devel mailing list