Commit 04edeafa authored by Yoann Lopes's avatar Yoann Lopes Committed by The Qt Project
Browse files

WMF: fix some issues with our custom video sink.


- When scrubbing, request frames only one at a time.
- Discard frames when too late or too much in advance
- Fix integer overflow causing undefined behavior

[ChangeLog][QtMultimedia][Windows] Fixed video playback playing at
twice the normal rate after reaching 3:34.
[ChangeLog][QtMultimedia][Windows] Fixed video playback that could
freeze after seeking to a different position.

Task-number: QTBUG-31800
Change-Id: Ie620c684c58ee790537969ffc40f01610b6745ea
Reviewed-by: default avatarChristian Stromme <christian.stromme@digia.com>
parent 4855707e
No related merge requests found
Showing with 42 additions and 5 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment