Media Player playing : bool is returing wrong value
-
I'm not sure if I'm just loosing the plot here, but I have a MediaPlayer
MediaPlayer{ id: audiotest loops: MediaPlayer.Infinite onPlayingChanged: console.log(playing) audioOutput: AudioOutput { volume: 0.8 } }
Now the playing bool is returning true when the media is stopped and false when the media is playing like it's backwards, playbackState seems to be working correctly but not this.
Qt 6.6.0 Windows 11 22621
-
Hi,
What do you get with the playbackState property ?
-
Hi,
What do you get with the playbackState property ?
@SGaist It seems to be returning PlayingState and StoppedState correctly when using playbackState
-
@SGaist It seems to be returning PlayingState and StoppedState correctly when using playbackState
@Allstar12345 what if you do
Qt.callLater(console.log(playing))
instead?