[vlc-devel] [PATCH] qt: fix subtitle path not encoded properly in open panel
Pierre Lamot
pierre at videolabs.io
Fri Mar 9 13:16:09 CET 2018
:sub-file doesn't accept URL
---
modules/gui/qt/components/open_panels.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/components/open_panels.cpp b/modules/gui/qt/components/open_panels.cpp
index cb720dc5e4..397f72cc2d 100644
--- a/modules/gui/qt/components/open_panels.cpp
+++ b/modules/gui/qt/components/open_panels.cpp
@@ -287,7 +287,7 @@ void FileOpenPanel::updateMRL()
/* Options */
if( ui.subGroupBox->isChecked() && !subUrl.isEmpty() ) {
- mrl.append( " :sub-file=" + colon_escape( subUrl.toEncoded() ) );
+ mrl.append( " :sub-file=" + colon_escape( subUrl.toLocalFile() ) );
}
emit methodChanged( "file-caching" );
--
2.14.1
More information about the vlc-devel
mailing list