Disabling subtitles

This forum is about all development around libVLC.
neosettler
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 18 Dec 2012 17:44

Disabling subtitles

Postby neosettler » 30 Jan 2019 03:26

Greetings,

How to enable/disable subtitle at run time using libVLC?

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Disabling subtitles

Postby unidan » 30 Jan 2019 09:11

Hi, according to vlc-android source code, you can use https://www.videolan.org/developers/vlc ... 858f087e9d

neosettler
Cone that earned his stripes
Cone that earned his stripes
Posts: 107
Joined: 18 Dec 2012 17:44

Re: Disabling subtitles

Postby neosettler » 01 Feb 2019 00:40

Hi, thank you for your suggestion. One would think that libvlc_video_set_spu -1 would disable the subtitles but, at least on Windows 10, it has no effect.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 21 guests