summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2023-02-18 19:29:01 +0000
committerDudemanguy <random342@airmail.cc>2023-02-20 14:21:18 +0000
commit9efce6d4ae26114a23f41f0b3b2d0d9f0281547b (patch)
tree3fa0143e0d2fcf56ea66f4ea0027ab3e9aceedf9 /video/out
parenta90355660c9d5a37ea3f24d6ef162baee4b09ab2 (diff)
downloadmpv-9efce6d4ae26114a23f41f0b3b2d0d9f0281547b.tar.bz2
mpv-9efce6d4ae26114a23f41f0b3b2d0d9f0281547b.tar.xz
various: drop unused #include "config.h"
Most sources don't need config.h. The inclusion only leads to lots of unneeded recompilation if the configuration is changed.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/cocoa_common.m2
-rw-r--r--video/out/d3d11/hwdec_d3d11va.c2
-rw-r--r--video/out/gpu/context.h1
-rw-r--r--video/out/hwdec/dmabuf_interop.h1
-rw-r--r--video/out/hwdec/dmabuf_interop_gl.c1
-rw-r--r--video/out/hwdec/dmabuf_interop_pl.c1
-rw-r--r--video/out/hwdec/dmabuf_interop_wl.c1
-rw-r--r--video/out/hwdec/hwdec_cuda_gl.c1
-rw-r--r--video/out/libmpv_sw.c1
-rw-r--r--video/out/opengl/hwdec_ios.m2
-rw-r--r--video/out/opengl/hwdec_osx.c2
-rw-r--r--video/out/vo_gpu.c2
-rw-r--r--video/out/vo_image.c1
-rw-r--r--video/out/vo_lavc.c1
-rw-r--r--video/out/vo_libmpv.c2
-rw-r--r--video/out/vo_sdl.c1
-rw-r--r--video/out/vo_vaapi.c1
-rw-r--r--video/out/vo_vdpau.c1
-rw-r--r--video/out/vo_x11.c1
-rw-r--r--video/out/vo_xv.c2
-rw-r--r--video/out/x11_common.c1
21 files changed, 0 insertions, 28 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index aa486fb461..222dde4520 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -34,8 +34,6 @@
#include "osdep/macosx_compat.h"
#include "osdep/macosx_events_objc.h"
-#include "config.h"
-
#include "osdep/timer.h"
#include "osdep/macosx_application.h"
#include "osdep/macosx_application_objc.h"
diff --git a/video/out/d3d11/hwdec_d3d11va.c b/video/out/d3d11/hwdec_d3d11va.c
index 9fc131ef40..1bce9a5cd7 100644
--- a/video/out/d3d11/hwdec_d3d11va.c
+++ b/video/out/d3d11/hwdec_d3d11va.c
@@ -19,8 +19,6 @@
#include <d3d11.h>
#include <d3d11_1.h>
-#include "config.h"
-
#include "common/common.h"
#include "options/m_config.h"
#include "osdep/windows_utils.h"
diff --git a/video/out/gpu/context.h b/video/out/gpu/context.h
index 72ad65f470..dae95fa666 100644
--- a/video/out/gpu/context.h
+++ b/video/out/gpu/context.h
@@ -3,7 +3,6 @@
#include "video/out/vo.h"
#include "video/csputils.h"
-#include "config.h"
#include "ra.h"
struct ra_ctx_opts {
diff --git a/video/out/hwdec/dmabuf_interop.h b/video/out/hwdec/dmabuf_interop.h
index 9c52ad5f75..e9b3e8e8f5 100644
--- a/video/out/hwdec/dmabuf_interop.h
+++ b/video/out/hwdec/dmabuf_interop.h
@@ -19,7 +19,6 @@
#include <libavutil/hwcontext_drm.h>
-#include "config.h"
#include "video/out/gpu/hwdec.h"
struct dmabuf_interop {
diff --git a/video/out/hwdec/dmabuf_interop_gl.c b/video/out/hwdec/dmabuf_interop_gl.c
index f646cabdeb..cd62e960ca 100644
--- a/video/out/hwdec/dmabuf_interop_gl.c
+++ b/video/out/hwdec/dmabuf_interop_gl.c
@@ -15,7 +15,6 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
#include "dmabuf_interop.h"
#include <drm_fourcc.h>
diff --git a/video/out/hwdec/dmabuf_interop_pl.c b/video/out/hwdec/dmabuf_interop_pl.c
index 7e1ac05a75..5a2d690291 100644
--- a/video/out/hwdec/dmabuf_interop_pl.c
+++ b/video/out/hwdec/dmabuf_interop_pl.c
@@ -18,7 +18,6 @@
#include <errno.h>
#include <unistd.h>
-#include "config.h"
#include "dmabuf_interop.h"
#include "video/out/placebo/ra_pl.h"
#include "video/out/placebo/utils.h"
diff --git a/video/out/hwdec/dmabuf_interop_wl.c b/video/out/hwdec/dmabuf_interop_wl.c
index eede6bb0f2..76f91aaf9a 100644
--- a/video/out/hwdec/dmabuf_interop_wl.c
+++ b/video/out/hwdec/dmabuf_interop_wl.c
@@ -15,7 +15,6 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include "video/out/wldmabuf/ra_wldmabuf.h"
-#include "config.h"
#include "dmabuf_interop.h"
static bool mapper_init(struct ra_hwdec_mapper *mapper,
diff --git a/video/out/hwdec/hwdec_cuda_gl.c b/video/out/hwdec/hwdec_cuda_gl.c
index 0e6160da87..88952461e7 100644
--- a/video/out/hwdec/hwdec_cuda_gl.c
+++ b/video/out/hwdec/hwdec_cuda_gl.c
@@ -17,7 +17,6 @@
* License along with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "config.h"
#include "hwdec_cuda.h"
#include "options/m_config.h"
#include "video/out/opengl/formats.h"
diff --git a/video/out/libmpv_sw.c b/video/out/libmpv_sw.c
index 901bd4e663..f1b08f055d 100644
--- a/video/out/libmpv_sw.c
+++ b/video/out/libmpv_sw.c
@@ -1,4 +1,3 @@
-#include "config.h"
#include "libmpv/render_gl.h"
#include "libmpv.h"
#include "sub/osd.h"
diff --git a/video/out/opengl/hwdec_ios.m b/video/out/opengl/hwdec_ios.m
index a2ca0310f2..139779f106 100644
--- a/video/out/opengl/hwdec_ios.m
+++ b/video/out/opengl/hwdec_ios.m
@@ -25,8 +25,6 @@
#include <libavutil/hwcontext.h>
-#include "config.h"
-
#include "video/out/gpu/hwdec.h"
#include "video/mp_image_pool.h"
#include "ra_gl.h"
diff --git a/video/out/opengl/hwdec_osx.c b/video/out/opengl/hwdec_osx.c
index 86e7402267..31d49493bb 100644
--- a/video/out/opengl/hwdec_osx.c
+++ b/video/out/opengl/hwdec_osx.c
@@ -26,8 +26,6 @@
#include <libavutil/hwcontext.h>
-#include "config.h"
-
#include "video/mp_image_pool.h"
#include "video/out/gpu/hwdec.h"
#include "ra_gl.h"
diff --git a/video/out/vo_gpu.c b/video/out/vo_gpu.c
index db30d83017..b778ab08ca 100644
--- a/video/out/vo_gpu.c
+++ b/video/out/vo_gpu.c
@@ -26,8 +26,6 @@
#include <libavutil/common.h>
-#include "config.h"
-
#include "mpv_talloc.h"
#include "common/common.h"
#include "misc/bstr.h"
diff --git a/video/out/vo_image.c b/video/out/vo_image.c
index 15c1a34498..aece3e069b 100644
--- a/video/out/vo_image.c
+++ b/video/out/vo_image.c
@@ -24,7 +24,6 @@
#include <libswscale/swscale.h>
-#include "config.h"
#include "misc/bstr.h"
#include "osdep/io.h"
#include "options/m_config.h"
diff --git a/video/out/vo_lavc.c b/video/out/vo_lavc.c
index 74f3c40882..74b5477be7 100644
--- a/video/out/vo_lavc.c
+++ b/video/out/vo_lavc.c
@@ -23,7 +23,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
#include "common/common.h"
#include "options/options.h"
#include "video/fmt-conversion.h"
diff --git a/video/out/vo_libmpv.c b/video/out/vo_libmpv.c
index 5325a1d337..88c6804dfe 100644
--- a/video/out/vo_libmpv.c
+++ b/video/out/vo_libmpv.c
@@ -7,8 +7,6 @@
#include <pthread.h>
#include <assert.h>
-#include "config.h"
-
#include "mpv_talloc.h"
#include "common/common.h"
#include "misc/bstr.h"
diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c
index adfcfb43d8..d47f31df11 100644
--- a/video/out/vo_sdl.c
+++ b/video/out/vo_sdl.c
@@ -44,7 +44,6 @@
#include "video/mp_image.h"
#include "win_state.h"
-#include "config.h"
#include "vo.h"
struct formatmap_entry {
diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c
index 2766640e6c..ad718b3085 100644
--- a/video/out/vo_vaapi.c
+++ b/video/out/vo_vaapi.c
@@ -28,7 +28,6 @@
#include <X11/Xutil.h>
#include <va/va_x11.h>
-#include "config.h"
#include "common/msg.h"
#include "video/out/vo.h"
#include "video/mp_image_pool.h"
diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c
index da14693092..02668c3621 100644
--- a/video/out/vo_vdpau.c
+++ b/video/out/vo_vdpau.c
@@ -31,7 +31,6 @@
#include <limits.h>
#include <assert.h>
-#include "config.h"
#include "video/vdpau.h"
#include "video/vdpau_mixer.h"
#include "video/hwdec.h"
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index d1a689b22e..be0ee85963 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -24,7 +24,6 @@
#include <libswscale/swscale.h>
-#include "config.h"
#include "vo.h"
#include "video/csputils.h"
#include "video/mp_image.h"
diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c
index d3257730d7..b83c15ce8b 100644
--- a/video/out/vo_xv.c
+++ b/video/out/vo_xv.c
@@ -29,8 +29,6 @@
#include <libavutil/common.h>
-#include "config.h"
-
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 40d6b77420..e8054f3b55 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -39,7 +39,6 @@
#include <X11/extensions/Xpresent.h>
#include <X11/extensions/Xrandr.h>
-#include "config.h"
#include "misc/bstr.h"
#include "options/options.h"
#include "options/m_config.h"