Bug 126379 - Video-seek-with-negative-playback is flaky
Summary: Video-seek-with-negative-playback is flaky
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-02 04:00 PST by Piotr Grad
Modified: 2014-01-02 15:10 PST (History)
7 users (show)

See Also:


Attachments
Patch (1.67 KB, patch)
2014-01-02 05:09 PST, Piotr Grad
no flags Details | Formatted Diff | Diff
Patch (1.87 KB, patch)
2014-01-02 08:42 PST, Piotr Grad
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Grad 2014-01-02 04:00:06 PST
Already working on patch. Patch will be proposed soon.
Comment 1 Piotr Grad 2014-01-02 05:09:03 PST
Created attachment 220219 [details]
Patch
Comment 2 Eric Carlson 2014-01-02 08:05:09 PST
Comment on attachment 220219 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=220219&action=review

> Source/WebCore/ChangeLog:11
> +        Decision if playback rate for platform media player should be set is performed by checking m_playbackRate
> +        in HTMLMediaElement::endedPlayback(), so that m_playbackRate must be changed later.

I didn't understand this comment until I read through the sources several times. How about something like:

Test to see if m_player->setRate() should be called before updating m_playbackRate, because potentiallyPlaying() depends on endedPlayback(), which checks m_playbackRate.
Comment 3 Piotr Grad 2014-01-02 08:42:19 PST
Created attachment 220226 [details]
Patch
Comment 4 EFL EWS Bot 2014-01-02 09:20:05 PST
Comment on attachment 220226 [details]
Patch

Attachment 220226 [details] did not pass efl-wk2-ews (efl-wk2):
Output: http://webkit-queues.appspot.com/results/5706750963482624
Comment 5 Piotr Grad 2014-01-02 10:09:47 PST
(In reply to comment #4)
> (From update of attachment 220226 [details])
> Attachment 220226 [details] did not pass efl-wk2-ews (efl-wk2):
> Output: http://webkit-queues.appspot.com/results/5706750963482624

Source code is same as in first proposed patch, so don't know why it failed.
Comment 6 Eric Carlson 2014-01-02 10:15:42 PST
It looks like CoordinatedDrawingArea.cpp failed to compile:

[ 84%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.cpp.o
c++: internal compiler error: Killed (program cc1Failed to run "['Tools/Scripts/build-webkit', '--release', '--efl', '--update-efl', '--no-webkit1', '--makeargs="-j8"']" exit_code: 2
Comment 7 Piotr Grad 2014-01-02 13:29:29 PST
(In reply to comment #6)
> It looks like CoordinatedDrawingArea.cpp failed to compile:
> 
> [ 84%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/WebPage/CoordinatedGraphics/CoordinatedDrawingArea.cpp.o
> c++: internal compiler error: Killed (program cc1Failed to run "['Tools/Scripts/build-webkit', '--release', '--efl', '--update-efl', '--no-webkit1', '--makeargs="-j8"']" exit_code: 2

So this error is not related to patch proposed.
Comment 8 WebKit Commit Bot 2014-01-02 15:10:21 PST
Comment on attachment 220226 [details]
Patch

Clearing flags on attachment: 220226

Committed r161231: <http://trac.webkit.org/changeset/161231>
Comment 9 WebKit Commit Bot 2014-01-02 15:10:24 PST
All reviewed patches have been landed.  Closing bug.