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

Unified Diff: webkit/media/webmediaplayer_proxy.cc

Issue 10835044: Cancel pending seek in ChunkDemuxer when a new seek occurs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: response to CR Created 8 years, 4 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
« no previous file with comments | « 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 911c9bc1645754d3399f882e1aa4a7a83cb10f22..a9002daf6a5074bcafdd5619904b485a699e9370 100644
--- a/webkit/media/webmediaplayer_proxy.cc
+++ b/webkit/media/webmediaplayer_proxy.cc
@@ -189,6 +189,11 @@ void WebMediaPlayerProxy::DemuxerStartWaitingForSeek() {
chunk_demuxer_->StartWaitingForSeek();
}
+void WebMediaPlayerProxy::DemuxerCancelPendingSeek() {
+ if (chunk_demuxer_.get())
+ chunk_demuxer_->CancelPendingSeek();
+}
+
media::ChunkDemuxer::Status WebMediaPlayerProxy::DemuxerAddId(
const std::string& id,
const std::string& type,
« no previous file with comments | « webkit/media/webmediaplayer_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698