DescriptionAlways notify the MediaPlayer of any seek.
This change removes short circuit logic for seeking to the current position.
There are certain situations, like seeking to a truncated duration, where the
HTMLMediaElement is not in the best position to determine whether a call to
the MediaPlayer is necessary or not. This change allows the
MediaPlayer/WebMediaPlayer implementation to determine what the best course
of action should be. This also makes the seeking behavior more spec
compliant because even a seek to the current position should have the
seeking attribute be true until a stable state occurs. This is guaranteed
when calling into the MediaPlayer and allows all seeks to be treated the
same at the HTMLMediaElement level.
BUG=266631
TEST=LayoutTests/media/video-seek-to-current-position.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179347
Patch Set 1 #Patch Set 2 : Modified on top of acolwell's patch #
Total comments: 4
Patch Set 3 : Fixed review comments #
Total comments: 4
Patch Set 4 : nits #
Messages
Total messages: 17 (0 generated)
|