[vlc-commits] qt: Don't check extension when manually loading subtitles

Hugo Beauzée-Luyssen git at videolan.org
Thu Dec 7 13:35:43 CET 2017


vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec  7 12:45:17 2017 +0100| [ca482f4725f1fcedd9d057a9c53626afefe50452] | committer: Hugo Beauzée-Luyssen

qt: Don't check extension when manually loading subtitles

refs #19229

(cherry picked from commit cfcb0359525cf8e4b7cbeaf70f70aa35de665905)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=ca482f4725f1fcedd9d057a9c53626afefe50452
---

 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