diff options
author | 2001-05-27 20:59:58 +0000 | |
---|---|---|
committer | 2001-05-27 20:59:58 +0000 | |
commit | 7895a99e80db01f665bd8581833153872f9dcc99 (patch) | |
tree | 658a040c85de94e14c25b2a658c0928d095258ce /mplayer.c | |
parent | b874045618e6ab4f0c8ad5fcbdd7eb1502141517 (diff) |
implemented ~/.mplayer/sub/filename.sub stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@893 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -623,9 +623,9 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){ if ( sub_auto ) { // auto load sub file ... - subtitles=sub_read_file( sub_filename( filename ) ); - if ( subtitles == NULL ) subtitles=sub_read_file(get_path("default.sub")); // try default: - } else subtitles=sub_read_file(get_path("default.sub")); // try default: + subtitles=sub_read_file( sub_filename( get_path("sub/"), filename ) ); + } + if ( subtitles == NULL ) subtitles=sub_read_file(get_path("default.sub")); // try default: } |