summaryrefslogtreecommitdiffstats
path: root/webkit/media/webmediaplayer_proxy.cc
diff options
context:
space:
mode:
authorvrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 21:16:58 +0000
committervrk@google.com <vrk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 21:16:58 +0000
commit950c3b3d1d0cb93b6ddcea6aaf9646b8842a5506 (patch)
treeb7be9df58fb83a5fa54bab684de8379999ab3491 /webkit/media/webmediaplayer_proxy.cc
parent3b693bdd1be9f78da6806fe58ea2aca4ee6f8fb8 (diff)
downloadchromium_src-950c3b3d1d0cb93b6ddcea6aaf9646b8842a5506.zip
chromium_src-950c3b3d1d0cb93b6ddcea6aaf9646b8842a5506.tar.gz
chromium_src-950c3b3d1d0cb93b6ddcea6aaf9646b8842a5506.tar.bz2
Chrome-side implementation of media source timestamp offset
Adds functionality to signal an offset to be applied to the buffers in ChunkDemuxer. Is not triggerable from Chrome yet. BUG=139044 TEST=media_unittests Review URL: https://chromiumcodereview.appspot.com/10803019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148810 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/media/webmediaplayer_proxy.cc')
-rw-r--r--webkit/media/webmediaplayer_proxy.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/media/webmediaplayer_proxy.cc b/webkit/media/webmediaplayer_proxy.cc
index 2809e68..911c9bc 100644
--- a/webkit/media/webmediaplayer_proxy.cc
+++ b/webkit/media/webmediaplayer_proxy.cc
@@ -196,6 +196,11 @@ media::ChunkDemuxer::Status WebMediaPlayerProxy::DemuxerAddId(
return chunk_demuxer_->AddId(id, type, codecs);
}
+bool WebMediaPlayerProxy::DemuxerSetTimestampOffset(
+ const std::string& id, double offset) {
+ return chunk_demuxer_->SetTimestampOffset(id, offset);
+}
+
void WebMediaPlayerProxy::DemuxerRemoveId(const std::string& id) {
chunk_demuxer_->RemoveId(id);
}