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

WMF and GStreamer: fixed incorrect frame startTime and endTime.


The QVideoFrame documentation explicitly says that the time is in
microseconds, however the GStreamer backend was setting the time in
milliseconds and the WMF backend in 100-nanosecond units.
With WMF, the time was missing from the QVideoFrame when presenting it to
the video surface.

Task-number: QTBUG-31731
Change-Id: I0638d2abf8eed25b3a531db67c19a18703e5b630
Reviewed-by: default avatarAndy Nichols <andy.nichols@digia.com>
parent ca769ba2
Showing with 40 additions and 12 deletions
Supports Markdown
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