-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QMediaObject::setNotifyInterval - equivalent ? #373
Comments
No such interface now. Do we really need this? |
I see m_player->updateClock(200); does the job :) otherwise progress was updated once per second. |
Really? It"s strange. Usually this function is useless |
Well I was mistaken - it does not do that. |
It"s in |
There"s no public api to set the interval. I can add it if necessary. |
It would be nice :) Adding it as public may be useful for applications where there is need to synchronize video with data attached to it - as it is in mine case - and because of different cpu load factors it could be adjusted to optimal value. |
added in cd4de96 |
Works like a charm :) Thanks |
Hi Wang
Colud you please add equivalent of QtMultimedia
QMediaObject::setNotifyInterval(int ms)
that sets how often signal positionChanged is emited.
I am porting form QtMultimedia to QtAV
I used to set m_player->setNotifyInterval(50) for my QMediaPlayer
I guess it can do it for now with my timer frequently checking current progress.
The text was updated successfully, but these errors were encountered: