[vlc-commits] Improve the auto-load default preference

Jean-Baptiste Kempf git at videolan.org
Tue Apr 3 10:23:52 CEST 2012


vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr  3 01:42:38 2012 +0200| [080540aea5cb17d66b811aaff73960186436eeda] | committer: Jean-Baptiste Kempf

Improve the auto-load default preference

A lot of releases have subtitles in subs/ subfolder
(cherry picked from commit 2f35b8708c96bc1078ccf3aa3fd64d49f82e3952)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=080540aea5cb17d66b811aaff73960186436eeda
---

 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 dbf84f2..58037e9 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1797,9 +1797,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