WMF: more reliable video seeking.
authorYoann Lopes <yoann.lopes@digia.com>
Fri, 4 Apr 2014 13:09:03 +0000 (15:09 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 8 Apr 2014 16:50:02 +0000 (18:50 +0200)
commit08216062609dea47e78046dc0eeb12bc1ea8e49a
tree0a7595a51203793ee3c50fcd4a00797ccb2e93d9
parent6fb0d978389f3f578ce43ddeb6a1bad624df4154
WMF: more reliable video seeking.

When seeking, the presentation clock can enter an undefined state until
it is started again from the new position. Wait for the clock to be
restarted before scheduling the prerolled frames, otherwise these
frames might get a wrong presentation time.

Change-Id: I02cb3338239775b7ef5d206ec5aa1b26719ac978
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
src/plugins/wmf/player/mfvideorenderercontrol.cpp