[vlc-commits] VLSub: Automatically select downloaded subtitle tracks

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


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

VLSub: Automatically select downloaded subtitle tracks

(cherry picked from commit fa66e73d448e5381cd5fb5b68b5f5e96dfadb908)
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=2c91462d922576c3eb931ddc20c36f6a3a84aa38
---

 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