diff options
author | scherkus <scherkus@chromium.org> | 2014-09-02 23:46:20 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-03 06:48:54 +0000 |
commit | a62dfabc6e36a91cdea6d59b4a1c4465752c5d76 (patch) | |
tree | 2049f09e8062dc6135933aebfcb765ab27f989ab | |
parent | cf3f67027c909fa1dbef79b38765152a86205872 (diff) | |
download | chromium_src-a62dfabc6e36a91cdea6d59b4a1c4465752c5d76.zip chromium_src-a62dfabc6e36a91cdea6d59b4a1c4465752c5d76.tar.gz chromium_src-a62dfabc6e36a91cdea6d59b4a1c4465752c5d76.tar.bz2 |
Tweak some DVLOGs in media code.
As a follow up to 792fb3d, brings VideoRendererImpl in
line with AudioRendererImpl and also increases the DVLOG
level for the high-frequency CurrentMediaTime() function.
TBR=xhwang
Review URL: https://codereview.chromium.org/529333002
Cr-Commit-Position: refs/heads/master@{#293087}
-rw-r--r-- | media/filters/audio_renderer_impl.cc | 2 | ||||
-rw-r--r-- | media/filters/video_renderer_impl.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/media/filters/audio_renderer_impl.cc b/media/filters/audio_renderer_impl.cc index 220b528..81fb574 100644 --- a/media/filters/audio_renderer_impl.cc +++ b/media/filters/audio_renderer_impl.cc @@ -152,7 +152,7 @@ void AudioRendererImpl::SetMediaTime(base::TimeDelta time) { } base::TimeDelta AudioRendererImpl::CurrentMediaTime() { - DVLOG(1) << __FUNCTION__; + DVLOG(2) << __FUNCTION__; DCHECK(task_runner_->BelongsToCurrentThread()); // TODO(scherkus): Finish implementing when ready to switch Pipeline to using diff --git a/media/filters/video_renderer_impl.cc b/media/filters/video_renderer_impl.cc index f13ff01..55a68c8 100644 --- a/media/filters/video_renderer_impl.cc +++ b/media/filters/video_renderer_impl.cc @@ -68,6 +68,7 @@ VideoRendererImpl::~VideoRendererImpl() { } void VideoRendererImpl::Flush(const base::Closure& callback) { + DVLOG(1) << __FUNCTION__; DCHECK(task_runner_->BelongsToCurrentThread()); base::AutoLock auto_lock(lock_); DCHECK_EQ(state_, kPlaying); @@ -90,6 +91,7 @@ void VideoRendererImpl::Flush(const base::Closure& callback) { } void VideoRendererImpl::StartPlaying() { + DVLOG(1) << __FUNCTION__; DCHECK(task_runner_->BelongsToCurrentThread()); base::AutoLock auto_lock(lock_); DCHECK_EQ(state_, kFlushed); |