summaryrefslogtreecommitdiffstats
path: root/media/base/decrypt_config.cc
diff options
context:
space:
mode:
authorwolenetz@chromium.org <wolenetz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-12 01:09:49 +0000
committerwolenetz@chromium.org <wolenetz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-12 01:09:49 +0000
commit0f7a70415b0a4b8d2ff6bc958307965eca7b5667 (patch)
tree663cdabcf373ec49677a5eb2f1b3fa967d7546d3 /media/base/decrypt_config.cc
parent1dec3e81277da1c7d710cb54d045b70093104261 (diff)
downloadchromium_src-0f7a70415b0a4b8d2ff6bc958307965eca7b5667.zip
chromium_src-0f7a70415b0a4b8d2ff6bc958307965eca7b5667.tar.gz
chromium_src-0f7a70415b0a4b8d2ff6bc958307965eca7b5667.tar.bz2
Implement MediaSourceDelegate::SetDuration() for android
Notify MediaPlayerClient and (Android) MediaSourcePlayer when MediaSourceDelegate's ChunkDemuxer duration changes: * Bind WebMediaPlayerAndroid::OnDurationChanged() to render loop to asynchronously handle callback from MediaSourceDelegate::SetDuration(). * Cache the updated duration in WMPA. This needs simplification in blink so this caching doesn't break MSE spec conformance. Prerequisite blink change: https://codereview.chromium.org/15735030/) * Add IPC for WebMediaPlayerAndroid to notify (Android) MediaSourcePlayer when MediaSourceDelegate/ChunkDemuxer updates duration. With this patch, the following MSE layout tests now pass: webkitmediasource-duration-boundaryconditions.html webkitmediasource-duration-changed.html webkitmediasource-seek-to-end-after-duration-change.html BUG=246757,233420 TEST=manual verification of MSE layout tests show no regression R=acolwell@chromium.org,yfriedman@chromium.org,qinmin@chromium.org,wonsik@chromium.org, jschuh@chromium.org Review URL: https://chromiumcodereview.appspot.com/16372002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/decrypt_config.cc')
0 files changed, 0 insertions, 0 deletions