[vlc-commits] qt: Don't check extension when manually loading subtitles
Hugo Beauzée-Luyssen
git at videolan.org
Thu Dec 7 13:35:03 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 7 12:45:17 2017 +0100| [cfcb0359525cf8e4b7cbeaf70f70aa35de665905] | committer: Hugo Beauzée-Luyssen
qt: Don't check extension when manually loading subtitles
refs #19229
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfcb0359525cf8e4b7cbeaf70f70aa35de665905
---
modules/gui/qt/dialogs_provider.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/dialogs_provider.cpp b/modules/gui/qt/dialogs_provider.cpp
index 0908152d7e..edf42665aa 100644
--- a/modules/gui/qt/dialogs_provider.cpp
+++ b/modules/gui/qt/dialogs_provider.cpp
@@ -812,7 +812,7 @@ void DialogsProvider::loadSubtitlesFile()
free( path2 );
foreach( const QString &qsUrl, qsl )
{
- if( input_AddSlave( p_input, SLAVE_TYPE_SPU, qtu( qsUrl ), true, true, true ) )
+ if( input_AddSlave( p_input, SLAVE_TYPE_SPU, qtu( qsUrl ), true, true, false ) )
msg_Warn( p_intf, "unable to load subtitles from '%s'",
qtu( qsUrl ) );
}
More information about the vlc-commits
mailing list