Index: media/base/pipeline_impl.cc |
diff --git a/media/base/pipeline_impl.cc b/media/base/pipeline_impl.cc |
index b52c64dfef93db2a8b47ebaa3c1bd668c18bcd06..144291b681c66023724c083727b238458f653788 100644 |
--- a/media/base/pipeline_impl.cc |
+++ b/media/base/pipeline_impl.cc |
@@ -835,7 +835,7 @@ void PipelineImpl::RendererWrapper::InitializeRenderer( |
case DemuxerStreamProvider::Type::URL: |
// NOTE: Empty GURL are not valid. |
- if (!demuxer_->GetUrl().is_valid()) { |
+ if (!demuxer_->GetMediaUrlParams().media_url.is_valid()) { |
DVLOG(1) << "Error: demuxer does not have a valid URL."; |
done_cb.Run(PIPELINE_ERROR_COULD_NOT_RENDER); |
return; |