Commit 474ba4f5 authored by gunsch's avatar gunsch Committed by Commit bot

Chromecast: fixes CMA renderer initialization crash.

R=lcwu@chromium.org,erickung@chromium.org
BUG=None

Review URL: https://codereview.chromium.org/882563002

Cr-Commit-Position: refs/heads/master@{#313211}
parent f3c163fb
......@@ -84,8 +84,8 @@ void CmaRenderer::Initialize(
DCHECK(!ended_cb.is_null());
DCHECK(!error_cb.is_null());
DCHECK(!buffering_state_cb.is_null());
DCHECK(demuxer_stream_provider_->GetStream(::media::DemuxerStream::AUDIO) ||
demuxer_stream_provider_->GetStream(::media::DemuxerStream::VIDEO));
DCHECK(demuxer_stream_provider->GetStream(::media::DemuxerStream::AUDIO) ||
demuxer_stream_provider->GetStream(::media::DemuxerStream::VIDEO));
BeginStateTransition();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment