diff options
author | wm4 <wm4@nowhere> | 2012-07-31 01:35:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-07-31 01:35:53 +0200 |
commit | 6e020e66e0e454e8c7f1eeb17e85b90262e95386 (patch) | |
tree | 0cace859c7775e6066dbe9fcb3f742269bf84657 /command.c | |
parent | c78ba1c55c86db4d17583f7c8eb5b9034ae98193 (diff) | |
download | mpv-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |