QMediaPlayer::positionChanged(qint64)
Unsolved
General and Desktop
-
Hi
well
the docs
http://doc.qt.io/qt-5/qmediaplayercontrol.html#position
says it only sent when when something happens.You could hook up your own timer to your own function and call
qint64 QMediaPlayerControl::position() const -
You can change the update notification rate of the media object with setNotifyInterval(). 1s is just the default.
If you're using it for something like ui update make sure you're not going below what most displays can actually handle (~16ms). -
@Chris-Kawa @mrjj
sorry for the late reply,
thanks guys it now works using setnotifyinterval() :)