-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
setNextMedia weird behavior #59
Comments
add |
Thanks! Seems to fix the flicker. However, is this the appropriate way it should be done, or is it just a temporary workaround? It puzzles me because playback is not stopped, it's only paused, and the image buffer is not completely cleared, the image remains on the screen while paused, but it just blinks once. |
yes. image won't be cleared if playback is stopped. but if the state is paused, it's a bug |
Hello,
Using Qt5 with MinGW 8.1.0 64bit on Windows 10 64bit, and MDK 0.14.2 (nightly as of today).
I attached a sample app.
seek.zip
I'm experiencing 2 issues with
setNextMedia
:setNextMedia()
twice with a valid string causes the app to freeze. It doesn't crash, but the window freezes, seems like a deadlock or something. In the sample app, if you press Play twice (without pressing Pause between), it will freeze.A workaround is to call
setNextMedia(nullptr)
before calling it with a valid string, and this avoids the freeze. But I think this should be fixed internally.setNextMedia(nullptr)
(as per issue (1) ), the video area flickers. In the sample code, pressing pause causes the flicker.If either of the issues is fixed, the other one becomes less important, but I think both should be fixed to avoid problems in other scenarios.
If you need more details, let me know. Thanks!
The text was updated successfully, but these errors were encountered: