[vlc-devel] [PATCH 03/16] Add variable to enable/disable dual subtitles
remi at remlab.net
Fri May 31 17:09:10 CEST 2019
Le perjantaina 31. toukokuuta 2019, 16.34.43 EEST Roland Bewick a écrit :
> On Fri, 31 May 2019 at 6:42 PM, Thomas Guillem <thomas at gllm.fr> wrote:
> > The best solution I could think of:
> > - Add an helper to get all selected track (an array like few other
> > helpers) for an ES
> > - If (selected_spu_track > 2) then SelectList else SelectOne
> > It will work with more than one UI used.
> Hi Thomas,
> I don’t think this will work for the QT GUI because you can only select a
> secondary subtitle track if:
> A. There is only one track selected (if there are two already selected, you
> must deselect one first)
> B. Dual subtitles are enabled
> If the user selects two subtitle tracks using the hotkeys and then
> deselects one of them from QT, they can no longer select a second subtitle
> track using QT.
You don't want the user to go through the menu twice anyway just to add a
track. So you need a new menu to select the second subtitle track without
touching the first one.
More information about the vlc-devel