mirror of
https://github.com/mpv-player/mpv
synced 2025-02-12 18:07:12 +00:00
move 'dvdsublang... moviename en,eng,' message to debug level.
change 'dvdsublang' to 'potential sub', subtitles werent always dvd related. also change output to only output selected subtitle. patch by ubitux at gmail. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31171 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
210601a953
commit
30ead7d5d3
@ -1922,7 +1922,7 @@ 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);
|
||||
mp_msg(MSGT_SUBREADER, MSGL_DBG2,"Potential sub: %s\n", tmp_fname_trim);
|
||||
if (strcmp(tmp_fname_trim, tmpresult) == 0 && sub_match_fuzziness >= 1) {
|
||||
// matches the movie name + lang extension
|
||||
prio = 5;
|
||||
|
Loading…
Reference in New Issue
Block a user