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
Patch Set 1 #
Total comments: 3
Patch Set 2 : Rebase and address CR comment #Patch Set 3 : Rebase #
Messages
Total messages: 13 (0 generated)
|