Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Unified Diff: webkit/media/webmediaplayer_proxy.cc

Issue 10803019: Chrome-side implementation of media source timestamp offset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« media/mp4/mp4_stream_parser.cc ('K') | « webkit/media/webmediaplayer_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediaplayer_proxy.cc
diff --git a/webkit/media/webmediaplayer_proxy.cc b/webkit/media/webmediaplayer_proxy.cc
index 2809e68f1159820d3220ad6a9913c9efc4838d3f..29011ac930216a8289ad99a6eb109e035d914207 100644
--- a/webkit/media/webmediaplayer_proxy.cc
+++ b/webkit/media/webmediaplayer_proxy.cc
@@ -196,6 +196,15 @@ media::ChunkDemuxer::Status WebMediaPlayerProxy::DemuxerAddId(
return chunk_demuxer_->AddId(id, type, codecs);
}
+void WebMediaPlayerProxy::DemuxerTimestampOffset(
+ const std::string& id, float offset) {
+ chunk_demuxer_->TimestampOffset(id, offset);
+}
+
+void WebMediaPlayerProxy::DemuxerClearTimestampOffset(const std::string& id) {
+ chunk_demuxer_->ClearTimestampOffset(id);
+}
+
void WebMediaPlayerProxy::DemuxerRemoveId(const std::string& id) {
chunk_demuxer_->RemoveId(id);
}
« media/mp4/mp4_stream_parser.cc ('K') | « webkit/media/webmediaplayer_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698