diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-05-08 22:40:01 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-05-08 22:43:36 +0300 |
commit | b26d8828d403ab495ccf066ec205298af74b9be5 (patch) | |
tree | 1e3ec77cdec3b230f16fe7141dc80e187e2938e4 /subreader.c | |
parent | 33efcaf1579cd09641f606971d5419a1fdb3bcf0 (diff) | |
download | mpv-b26d8828d403ab495ccf066ec205298af74b9be5.tar.bz2 mpv-b26d8828d403ab495ccf066ec205298af74b9be5.tar.xz |
subreader: remove pointless message
The code printed a pointless "dvdsublang..." message at MSGL_INFO
level. Remove that. Add instead a MSGL_DBG2 message showing tested
files and their priorities.
Diffstat (limited to 'subreader.c')
-rw-r--r-- | subreader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c index 7465cb0e35..e4ba939742 100644 --- a/subreader.c +++ b/subreader.c @@ -1926,7 +1926,6 @@ char** sub_filenames(const char* path, char *fname) if (!prio && tmp_sub_id) { sprintf(tmpresult, "%s %s", f_fname_trim, tmp_sub_id); - mp_msg(MSGT_SUBREADER,MSGL_INFO,"dvdsublang...%s\n", tmpresult); if (strcmp(tmp_fname_trim, tmpresult) == 0 && sub_match_fuzziness >= 1) { // matches the movie name + lang extension prio = 5; @@ -1958,6 +1957,8 @@ char** sub_filenames(const char* path, char *fname) } } + mp_msg(MSGT_SUBREADER, MSGL_DBG2, "Potential sub file: " + "\"%s\" Priority: %d\n", de->d_name, prio); if (prio) { prio += prio; #ifdef CONFIG_ICONV |