summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrunell <grunell@chromium.org>2016-01-08 07:28:56 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-08 15:30:13 +0000
commita13733d0668e4fcc9440120459b94ae2284d82a3 (patch)
tree27855831fef5f6a818e228d9b560ebd3e65d345f
parent4caac96fa8857a46100feeac45c74cef264c0cb4 (diff)
downloadchromium_src-a13733d0668e4fcc9440120459b94ae2284d82a3.zip
chromium_src-a13733d0668e4fcc9440120459b94ae2284d82a3.tar.gz
chromium_src-a13733d0668e4fcc9440120459b94ae2284d82a3.tar.bz2
Change DCHECK to CHECK in AudioRendererImpl::Render.
TBR=dalecurtis@chromium.org BUG=568334 Review URL: https://codereview.chromium.org/1564333003 Cr-Commit-Position: refs/heads/master@{#368332}
-rw-r--r--media/renderers/audio_renderer_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/renderers/audio_renderer_impl.cc b/media/renderers/audio_renderer_impl.cc
index 23f8078..d7cdfe1 100644
--- a/media/renderers/audio_renderer_impl.cc
+++ b/media/renderers/audio_renderer_impl.cc
@@ -669,7 +669,7 @@ int AudioRendererImpl::Render(AudioBus* audio_bus,
// Delay playback by writing silence if we haven't reached the first
// timestamp yet; this can occur if the video starts before the audio.
if (algorithm_->frames_buffered() > 0) {
- DCHECK(first_packet_timestamp_ != kNoTimestamp());
+ CHECK(first_packet_timestamp_ != kNoTimestamp());
const base::TimeDelta play_delay =
first_packet_timestamp_ - audio_clock_->back_timestamp();
if (play_delay > base::TimeDelta()) {