[vlc-commits] Improve the auto-load default preference
Jean-Baptiste Kempf
git at videolan.org
Tue Apr 3 02:43:50 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr 3 01:42:38 2012 +0200| [2f35b8708c96bc1078ccf3aa3fd64d49f82e3952] | committer: Jean-Baptiste Kempf
Improve the auto-load default preference
A lot of releases have subtitles in subs/ subfolder
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2f35b8708c96bc1078ccf3aa3fd64d49f82e3952
---
src/libvlc-module.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 59f8a41..c7d52f5 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1779,9 +1779,9 @@ vlc_module_begin ()
add_integer( "sub-autodetect-fuzzy", 3,
SUB_FUZZY_TEXT, SUB_FUZZY_LONGTEXT, true )
#if defined( WIN32 ) || defined( __OS2__ )
-# define SUB_PATH ".\\subtitles"
+# define SUB_PATH ".\\subtitles, .\\subs"
#else
-# define SUB_PATH "./Subtitles, ./subtitles"
+# define SUB_PATH "./Subtitles, ./subtitles, ./Subs, ./subs"
#endif
add_string( "sub-autodetect-path", SUB_PATH,
SUB_PATH_TEXT, SUB_PATH_LONGTEXT, true )
More information about the vlc-commits
mailing list