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

Unified Diff: content/renderer/media/rtc_video_decoder.cc

Issue 8686010: <video> decode in hardware! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Drop INTRA/CONSTRAINED in profile, add missing 'virtual', add MEDIA_EXPORT, fix RemoveFilter loop Created 9 years 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
Index: content/renderer/media/rtc_video_decoder.cc
diff --git a/content/renderer/media/rtc_video_decoder.cc b/content/renderer/media/rtc_video_decoder.cc
index 4f418a5db011a732777ea25b47ae9c2292b28e86..75293a8baa37a0f98ba468d1c57beceb7de54da9 100644
--- a/content/renderer/media/rtc_video_decoder.cc
+++ b/content/renderer/media/rtc_video_decoder.cc
@@ -38,7 +38,7 @@ RTCVideoDecoder::RTCVideoDecoder(MessageLoop* message_loop,
RTCVideoDecoder::~RTCVideoDecoder() {}
void RTCVideoDecoder::Initialize(DemuxerStream* demuxer_stream,
- const base::Closure& filter_callback,
+ const media::PipelineStatusCB& filter_callback,
const StatisticsCallback& stat_callback) {
if (MessageLoop::current() != message_loop_) {
message_loop_->PostTask(
@@ -51,7 +51,7 @@ void RTCVideoDecoder::Initialize(DemuxerStream* demuxer_stream,
DCHECK_EQ(MessageLoop::current(), message_loop_);
state_ = kNormal;
- filter_callback.Run();
+ filter_callback.Run(PIPELINE_OK);
// TODO(acolwell): Implement stats.
}

Powered by Google App Engine
This is Rietveld 408576698