[vlc-devel] [PATCH 03/16] Add variable to enable/disable dual subtitles

Roland Bewick roland.bewick at gmail.com
Tue May 28 12:50:10 CEST 2019


On 28/05/2019 5:31 PM, RĂ©mi Denis-Courmont wrote:
> Hi,
>
> Well that's kind of the point: you can not assume that other UIs will 
> understand what's happening - anyway.
>
> Qt can just check how many SPU are selected. But you can't assume that 
> other UI will do that nor that they'll check any flag that you might 
> have added.

Ok, I finally understand what you're saying - thanks for clarifying.

So QT can use the track selection changed event to check whether two 
subtitles are simultaneously selected, and if so enable dual subtitles 
in the QT GUI. (Which means some other interface enabled dual subtitles)

On 28/05/2019 5:17 PM, Thomas Guillem wrote:

> Maybe you could save this parameter as a variable (like 
> "multiple-spus") in the root vlc object.

I'm happy with this option too.


In both these options I'll still have to pass the bool to TrackListModel.

Roland


More information about the vlc-devel mailing list