[PyQt] Access to QMediaStreamsControl
phil at riverbankcomputing.com
Sat Apr 18 13:24:07 BST 2020
On 18/04/2020 00:29, Maurizio Berti wrote:
> I was trying to understand if there's any way to access
> the QMediaStreamsControl from QMediaPlayer,
> so that I might be able to activate a stream (the most common reason is
> access alternate audio tracks, like foreign languages for DVD/BR).
> Unfortunately, all I could get was a basic (useless?) QMediaControl.
> Am I missing something here?
> I tried to do some research, and it seems that the sip sources don't
> include any of that, but maybe I was just shooting in the dark there.
> The behavior exists on my usual and old PyQt 5.7, but also in my test
> machine with 5.12.
When I don't understand an API properly then I tend to leave it until
somebody complains and then I've got someone more knowledgeable who I
can ask about it.
From what you say, all I need to do is to wrap the various QMediaControl
sub-classes (all 39 of them). Is that right?
More information about the PyQt