| Index: media/filters/ffmpeg_demuxer.cc
|
| diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc
|
| index 8526b4e1917936b6d1e34f9277b971c827857a02..bf595e2cd0cc9c6c948daed1d7931b9effc24ff7 100644
|
| --- a/media/filters/ffmpeg_demuxer.cc
|
| +++ b/media/filters/ffmpeg_demuxer.cc
|
| @@ -313,7 +313,7 @@ void FFmpegDemuxer::InititalizeTask(DataSource* data_source,
|
| FFmpegGlue::get()->RemoveDataSource(data_source);
|
|
|
| if (result < 0) {
|
| - host()->Error(DEMUXER_ERROR_COULD_NOT_OPEN);
|
| + host()->SetError(DEMUXER_ERROR_COULD_NOT_OPEN);
|
| callback->Run();
|
| return;
|
| }
|
| @@ -328,7 +328,7 @@ void FFmpegDemuxer::InititalizeTask(DataSource* data_source,
|
| // Fully initialize AVFormatContext by parsing the stream a little.
|
| result = av_find_stream_info(format_context_);
|
| if (result < 0) {
|
| - host()->Error(DEMUXER_ERROR_COULD_NOT_PARSE);
|
| + host()->SetError(DEMUXER_ERROR_COULD_NOT_PARSE);
|
| callback->Run();
|
| return;
|
| }
|
| @@ -351,7 +351,7 @@ void FFmpegDemuxer::InititalizeTask(DataSource* data_source,
|
| }
|
| }
|
| if (streams_.empty()) {
|
| - host()->Error(DEMUXER_ERROR_NO_SUPPORTED_STREAMS);
|
| + host()->SetError(DEMUXER_ERROR_NO_SUPPORTED_STREAMS);
|
| callback->Run();
|
| return;
|
| }
|
|
|