History

various: remove global.h inclusion where not needed

Kacper Michajłow committed 2 years ago

Commit 72024061 parent c11239b19 files · +2 −19Browse files

Unified · Split

19 files
  1. audio/decode/ad_lavc.c +0 −1
  2. options/m_config_frontend.c +0 −1
  3. options/m_config_frontend.h +0 −1
  4. options/parse_commandline.c +0 −1
  5. player/client.c +0 −1
  6. player/configfiles.c +0 −1
  7. player/loadfile.c +0 −1
  8. player/misc.c +0 −1
  9. player/screenshot.c +0 −1
  10. player/sub.c +0 −1
  11. stream/stream_cb.c +0 −1
  12. sub/ass_mp.c +0 −1
  13. test/repack.c +0 −1
  14. video/decode/vd_lavc.c +0 −1
  15. video/filter/vf_gpu.h +2 −1
  16. video/out/gpu/video.c +0 −1
  17. video/out/opengl/context.h +0 −1
  18. video/out/vo_dmabuf_wayland.c +0 −1
  19. video/out/vo_gpu.c +0 −1
audio/decode/ad_lavc.c+0−1
@@ -33,7 +33,6 @@ · 32 unmodified lines
3333 #include "audio/fmt-conversion.h"
3434 #include "common/av_common.h"
3535 #include "common/codecs.h"
36−#include "common/global.h"
3736 #include "common/msg.h"
3837 #include "demux/packet.h"
3938 #include "demux/stheader.h"
options/m_config_frontend.c+0−1
@@ -27,7 +27,6 @@ · 26 unmodified lines
2727 #include "libmpv/client.h"
2828
2929 #include "common/common.h"
30−#include "common/global.h"
3130 #include "common/msg_control.h"
3231 #include "common/msg.h"
3332 #include "m_config_frontend.h"
options/m_config_frontend.h+0−1
@@ -23,7 +23,6 @@ · 22 unmodified lines
2323 #include <stdint.h>
2424
2525 #include "common/common.h"
26−#include "common/global.h"
2726 #include "common/msg.h"
2827 #include "common/msg_control.h"
2928 #include "m_config_core.h"
options/parse_commandline.c+0−1
@@ -23,7 +23,6 @@ · 22 unmodified lines
2323 #include <stdbool.h>
2424
2525 #include "osdep/io.h"
26−#include "common/global.h"
2726 #include "common/msg.h"
2827 #include "common/msg_control.h"
2928 #include "m_option.h"
player/client.c+0−1
@@ -26,7 +26,6 @@ · 25 unmodified lines
2626 #include "common/global.h"
2727 #include "common/msg.h"
2828 #include "common/msg_control.h"
29−#include "common/global.h"
3029 #include "input/input.h"
3130 #include "input/cmd.h"
3231 #include "misc/ctype.h"
player/configfiles.c+0−1
@@ -34,7 +34,6 @@ · 33 unmodified lines
3434
3535 #include "osdep/io.h"
3636
37−#include "common/global.h"
3837 #include "common/encode.h"
3938 #include "common/msg.h"
4039 #include "misc/ctype.h"
player/loadfile.c+0−1
@@ -34,7 +34,6 @@ · 33 unmodified lines
3434 #include "client.h"
3535 #include "common/msg.h"
3636 #include "common/msg_control.h"
37−#include "common/global.h"
3837 #include "options/path.h"
3938 #include "options/m_config.h"
4039 #include "options/parse_configfile.h"
player/misc.c+0−1
@@ -32,7 +32,6 @@ · 31 unmodified lines
3232 #include "options/m_property.h"
3333 #include "options/m_config.h"
3434 #include "common/common.h"
35−#include "common/global.h"
3635 #include "common/encode.h"
3736 #include "common/playlist.h"
3837 #include "input/input.h"
player/screenshot.c+0−1
@@ -21,7 +21,6 @@ · 20 unmodified lines
2121
2222 #include <libavcodec/avcodec.h>
2323
24−#include "common/global.h"
2524 #include "osdep/io.h"
2625
2726 #include "mpv_talloc.h"
player/sub.c+0−1
@@ -26,7 +26,6 @@ · 25 unmodified lines
2626 #include "common/msg.h"
2727 #include "options/options.h"
2828 #include "common/common.h"
29−#include "common/global.h"
3029
3130 #include "stream/stream.h"
3231 #include "sub/dec_sub.h"
stream/stream_cb.c+0−1
@@ -8,7 +8,6 @@ · 7 unmodified lines
88
99 #include "common/common.h"
1010 #include "common/msg.h"
11−#include "common/global.h"
1211 #include "stream.h"
1312 #include "options/m_option.h"
1413 #include "options/path.h"
sub/ass_mp.c+0−1
@@ -29,7 +29,6 @@ · 28 unmodified lines
2929 #include <ass/ass_types.h>
3030
3131 #include "common/common.h"
32−#include "common/global.h"
3332 #include "common/msg.h"
3433 #include "options/path.h"
3534 #include "ass_mp.h"
test/repack.c+0−1
@@ -3,7 +3,6 @@ · 2 unmodified lines
33 #include <libavutil/pixfmt.h>
44
55 #include "common/common.h"
6−#include "common/global.h"
76 #include "img_utils.h"
87 #include "sub/draw_bmp.h"
98 #include "sub/osd.h"
video/decode/vd_lavc.c+0−1
@@ -30,7 +30,6 @@ · 29 unmodified lines
3030 #include <libavutil/pixdesc.h>
3131
3232 #include "mpv_talloc.h"
33−#include "common/global.h"
3433 #include "common/msg.h"
3534 #include "options/m_config.h"
3635 #include "options/options.h"
video/filter/vf_gpu.h+2−1
@@ -18,7 +18,8 @@ · 17 unmodified lines
1818 #pragma once
1919
2020 #include "common/common.h"
21−#include "common/global.h"
21+
22+struct mpv_global;
2223
2324 struct offscreen_ctx {
2425 struct mp_log *log;
video/out/gpu/video.c+0−1
@@ -30,7 +30,6 @@ · 29 unmodified lines
3030 #include "misc/bstr.h"
3131 #include "options/m_config.h"
3232 #include "options/path.h"
33−#include "common/global.h"
3433 #include "options/options.h"
3534 #include "utils.h"
3635 #include "hwdec.h"
video/out/opengl/context.h+0−1
@@ -1,6 +1,5 @@
11 #pragma once
22
3−#include "common/global.h"
43 #include "video/out/gpu/context.h"
54 #include "common.h"
65
video/out/vo_dmabuf_wayland.c+0−1
@@ -24,7 +24,6 @@ · 23 unmodified lines
2424 #include <va/va_drmcommon.h>
2525 #endif
2626
27−#include "common/global.h"
2827 #include "gpu/hwdec.h"
2928 #include "gpu/video.h"
3029 #include "mpv_talloc.h"
video/out/vo_gpu.c+0−1
@@ -30,7 +30,6 @@ · 29 unmodified lines
3030 #include "common/common.h"
3131 #include "misc/bstr.h"
3232 #include "common/msg.h"
33−#include "common/global.h"
3433 #include "options/m_config.h"
3534 #include "vo.h"
3635 #include "video/mp_image.h"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t