Index: media/blink/webmediaplayer_impl.cc |
diff --git a/media/blink/webmediaplayer_impl.cc b/media/blink/webmediaplayer_impl.cc |
index 5be9452d38f572d1cd0acb5b9da0f1a7499771ce..52122d568221bbe80d497b56cdaeef5e02ced5e3 100644 |
--- a/media/blink/webmediaplayer_impl.cc |
+++ b/media/blink/webmediaplayer_impl.cc |
@@ -958,8 +958,13 @@ void WebMediaPlayerImpl::StartPipeline() { |
DCHECK(!chunk_demuxer_); |
DCHECK(data_source_); |
+#if !defined(MEDIA_DISABLE_FFMPEG) |
demuxer_.reset(new FFmpegDemuxer(media_task_runner_, data_source_.get(), |
encrypted_media_init_data_cb, media_log_)); |
+#else |
+ OnPipelineError(PipelineStatus::DEMUXER_ERROR_COULD_NOT_OPEN); |
+ return; |
+#endif |
} else { |
DCHECK(!chunk_demuxer_); |
DCHECK(!data_source_); |