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

Unified Diff: webkit/media/webmediaplayer_impl.cc

Issue 12320078: Delete old RTCVideoDecoder code path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make the line no longer than 80 chars Created 7 years, 10 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/media_stream_client.h ('k') | webkit/media/webmediaplayer_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/webmediaplayer_impl.cc
diff --git a/webkit/media/webmediaplayer_impl.cc b/webkit/media/webmediaplayer_impl.cc
index f904e2575b5d1b91ab568652ea5edb2e571b1820..6b39779ae4f8dcdc70773e9ef3637453d60362da 100644
--- a/webkit/media/webmediaplayer_impl.cc
+++ b/webkit/media/webmediaplayer_impl.cc
@@ -137,7 +137,6 @@ WebMediaPlayerImpl::WebMediaPlayerImpl(
client_(client),
proxy_(new WebMediaPlayerProxy(main_loop_->message_loop_proxy(), this)),
delegate_(delegate),
- media_stream_client_(params.media_stream_client()),
media_log_(params.media_log()),
accelerated_compositing_reported_(false),
incremented_externally_allocated_memory_(false),
@@ -272,15 +271,6 @@ void WebMediaPlayerImpl::load(const WebKit::WebURL& url, CORSMode cors_mode) {
SetReadyState(WebMediaPlayer::ReadyStateHaveNothing);
media_log_->AddEvent(media_log_->CreateLoadEvent(url.spec()));
- // Media streams pipelines can start immediately.
- if (BuildMediaStreamCollection(url, media_stream_client_,
- media_thread_.message_loop_proxy(),
- filter_collection_.get())) {
- supports_save_ = false;
- StartPipeline();
- return;
- }
-
// Media source pipelines can start immediately.
if (!url.isEmpty() && url == GetClient()->sourceURL()) {
chunk_demuxer_ = new media::ChunkDemuxer(
« no previous file with comments | « webkit/media/media_stream_client.h ('k') | webkit/media/webmediaplayer_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698