summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-07-31 01:35:53 +0200
committerwm4 <wm4@nowhere>2012-07-31 01:35:53 +0200
commit6e020e66e0e454e8c7f1eeb17e85b90262e95386 (patch)
tree0cace859c7775e6066dbe9fcb3f742269bf84657 /command.c
parentc78ba1c55c86db4d17583f7c8eb5b9034ae98193 (diff)
downloadmpv-6e020e66e0e454e8c7f1eeb17e85b90262e95386.tar.bz2
mpv-6e020e66e0e454e8c7f1eeb17e85b90262e95386.tar.xz
mp_msg: remove filename_recode
This was intended for translating filenames from filesystem charset to the terminal charset. Modern sane platforms use UTF-8 for everything, and on Windows we use unicode APIs, so this is not needed anymore. Remove filename_recode, all uses of it, options and configure checks related to terminal output charset, and code that tries to determine the same.
Diffstat (limited to 'command.c')
-rw-r--r--command.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/command.c b/command.c
index 9a696348da..d90d3ee76b 100644
--- a/command.c
+++ b/command.c
@@ -2738,8 +2738,7 @@ static void remove_subtitle_range(MPContext *mpctx, int start, int count)
filename = ass_tracks[idx]->name;
#endif
mp_msg(MSGT_CPLAYER, MSGL_STATUS,
- "SUB: Removed subtitle file (%d): %s\n", idx + 1,
- filename_recode(filename));
+ "SUB: Removed subtitle file (%d): %s\n", idx + 1, filename);
sub_free(subd);
subs[idx] = NULL;
#ifdef CONFIG_ASS