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

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

Issue 9700006: Move VideoDecoder out of media pipeline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revised on fischman's comments. Created 8 years, 9 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 | « no previous file | content/renderer/media/rtc_video_decoder.cc » ('j') | media/base/filters.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/capture_video_decoder.cc
diff --git a/content/renderer/media/capture_video_decoder.cc b/content/renderer/media/capture_video_decoder.cc
index 263b561a94a932d988a96acef9c640e825f03f18..58b078e3adff9dfc11355fe1c307d41370170b66 100644
--- a/content/renderer/media/capture_video_decoder.cc
+++ b/content/renderer/media/capture_video_decoder.cc
@@ -164,7 +164,7 @@ void CaptureVideoDecoder::PauseOnDecoderThread(const base::Closure& callback) {
DVLOG(1) << "PauseOnDecoderThread";
DCHECK(message_loop_proxy_->BelongsToCurrentThread());
state_ = kPaused;
- media::VideoDecoder::Pause(callback);
+ callback.Run();
}
void CaptureVideoDecoder::FlushOnDecoderThread(const base::Closure& callback) {
« no previous file with comments | « no previous file | content/renderer/media/rtc_video_decoder.cc » ('j') | media/base/filters.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698