diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-08-16 00:58:51 +0300 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2021-08-16 01:16:34 +0300 |
commit | 2b5c2c8e44bba096389ed3f2845d27beaf15b43b (patch) | |
tree | b4e72b390e37d564bcd4b210cafa18294db825f4 | |
parent | 2780bf32d055877a19ebb1430e4bdf92afdab8e3 (diff) | |
download | mpv-2b5c2c8e44bba096389ed3f2845d27beaf15b43b.tar.bz2 mpv-2b5c2c8e44bba096389ed3f2845d27beaf15b43b.tar.xz |
vo_tct: fix half-block on windows
On windows the UTF-8 strings are translated to wchar_t when printed to
the console, and some escape sequences are also translated, however,
this only works when printf is mapped to mp_printf, and for that to
happen we need to include osdep/io.h .
-rw-r--r-- | video/out/vo_tct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_tct.c b/video/out/vo_tct.c index 9325d3cbfa..7fa66170f4 100644 --- a/video/out/vo_tct.c +++ b/video/out/vo_tct.c @@ -28,6 +28,7 @@ #include "options/m_config.h" #include "config.h" #include "osdep/terminal.h" +#include "osdep/io.h" #include "vo.h" #include "sub/osd.h" #include "video/sws_utils.h" |