[vlc-commits] video_output: don't include control.h in include shared across the core
Steve Lhomme
git at videolan.org
Tue Sep 15 12:24:40 CEST 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Aug 18 13:51:13 2020 +0200| [11905e2a4c7d4cc9ebe63cc1c721316480c020b6] | committer: Steve Lhomme
video_output: don't include control.h in include shared across the core
They don't need to know about it.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=11905e2a4c7d4cc9ebe63cc1c721316480c020b6
---
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 fd0c80fe6e..b4a9a71165 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 35da512581..ef92f1c889 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.
More information about the vlc-commits
mailing list