WMF and GStreamer: fixed incorrect frame startTime and endTime.
authorYoann Lopes <yoann.lopes@digia.com>
Fri, 16 Aug 2013 15:51:53 +0000 (17:51 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 22 Aug 2013 11:16:49 +0000 (13:16 +0200)
commita2f078f1088827ec2bc066aaee7ca3199c6cb4eb
treea83d8cdf2f16d2950442373360dd169eb62e750f
parentca769ba264f868ea2f41f2656f7126218b428ad4
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: Andy Nichols <andy.nichols@digia.com>
src/gsttools/qvideosurfacegstsink.cpp
src/plugins/wmf/evrd3dpresentengine.cpp
src/plugins/wmf/mftvideo.cpp
src/plugins/wmf/player/mfvideorenderercontrol.cpp