-
jer.noble@apple.com authored
Reviewed by Eric Carlson. Frame accurate seeking isn't always accurate https://bugs.webkit.org/show_bug.cgi?id=52697 New pixel test that seeks to specific currentTimes and records the rendered frame. * media/content/test-25fps.mp4: Added. * media/content/test-25fps.ogv: Added. * media/video-frame-accurate-seek-expected.txt: Added. * media/video-frame-accurate-seek.html: Added. * platform/mac/media/video-frame-accurate-seek-expected.checksum: Added. * platform/mac/media/video-frame-accurate-seek-expected.png: Added. 2011-02-04 Jer Noble <jer.noble@apple.com> Reviewed by Eric Carlson. Frame accurate seeking isn't always accurate https://bugs.webkit.org/show_bug.cgi?id=52697 Test: media/video-frame-accurate-seek.html Make seeking slightly more accurate by rounding instead of truncating when converting from seconds-in-float to time/timeScale. * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivateQTKit::createQTTime): * platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp: (WebCore::MediaPlayerPrivateQuickTimeVisualContext::mediaTimeForTimeValue): * platform/graphics/win/QTMovie.cpp: (QTMovie::setCurrentTime): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
25fd6126