diff options
author | keitchen <keitchen@amazon.com> | 2015-07-21 15:25:30 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-21 22:26:03 +0000 |
commit | 513ce3cd3246269db14a5dd2c328ee0b97f505aa (patch) | |
tree | 7de244ab5777e88cfb4aaf3b9ec10cfbc37c7a56 /AUTHORS | |
parent | 52eb03bee6e55a7fdbbb049a3977a6a2000046ec (diff) | |
download | chromium_src-513ce3cd3246269db14a5dd2c328ee0b97f505aa.zip chromium_src-513ce3cd3246269db14a5dd2c328ee0b97f505aa.tar.gz chromium_src-513ce3cd3246269db14a5dd2c328ee0b97f505aa.tar.bz2 |
Prevent seeking when Android MediaPlayer reports that it's not possible.
For some content (e.g. HLS live streams), attempting to seek will get the
media player stuck in an error state. In
https://codereview.chromium.org/22605013, this was addressed by preventing
seeks if the duration of the video is negative. However, with
https://codereview.chromium.org/617743004, a -1 returned by the Android
MediaPlayer will be converted to media::kInfiniteDuration().
This CL utilizes two seek booleans derived from the Android MediaPlayer to
determine if a seek should be allowed.
BUG=510641
TEST=MediaPlayerBridgeTest.*
Review URL: https://codereview.chromium.org/1234483003
Cr-Commit-Position: refs/heads/master@{#339762}
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -300,6 +300,7 @@ Kaspar Brand <googlecontrib@velox.ch> Kaustubh Atrawalkar <kaustubh.ra@gmail.com> Kaustubh Atrawalkar <kaustubh.a@samsung.com> Keene Pan <keenepan@linpus.com> +Keith Chen <keitchen@amazon.com> Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com> Keonho Kim <keonho07.kim@samsung.com> Ketan Goyal <ketan.goyal@samsung.com> |