[vlc-commits] VLSub: Automatically select downloaded subtitle tracks
Hugo Beauzée-Luyssen
git at videolan.org
Thu Dec 7 13:35:04 CET 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Dec 7 12:46:53 2017 +0100| [fa66e73d448e5381cd5fb5b68b5f5e96dfadb908] | committer: Hugo Beauzée-Luyssen
VLSub: Automatically select downloaded subtitle tracks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa66e73d448e5381cd5fb5b68b5f5e96dfadb908
---
share/lua/extensions/VLSub.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/lua/extensions/VLSub.lua b/share/lua/extensions/VLSub.lua
index a564b8d664..d8cc6b078f 100644
--- a/share/lua/extensions/VLSub.lua
+++ b/share/lua/extensions/VLSub.lua
@@ -1792,7 +1792,7 @@ end
function add_sub(subMrl)
if vlc.item or vlc.input.item() then
vlc.msg.dbg("[VLsub] Adding subtitle :" .. subMrl)
- return vlc.input.add_subtitle_mrl(subMrl)
+ return vlc.input.add_subtitle_mrl(subMrl, true)
end
return false
end
More information about the vlc-commits
mailing list