| Index: media/filters/decoder_stream.cc
|
| diff --git a/media/filters/decoder_stream.cc b/media/filters/decoder_stream.cc
|
| index bacba005ec744d7b6a1b176bc06b923ca6cee5bc..757bd60987b8706754c2bb10f36d5fdecd815feb 100644
|
| --- a/media/filters/decoder_stream.cc
|
| +++ b/media/filters/decoder_stream.cc
|
| @@ -506,7 +506,7 @@
|
| }
|
|
|
| template <DemuxerStream::Type StreamType>
|
| -void DecoderStream<StreamType>::OnDecoderReinitialized(bool success) {
|
| +void DecoderStream<StreamType>::OnDecoderReinitialized(PipelineStatus status) {
|
| FUNCTION_DVLOG(2);
|
| DCHECK(task_runner_->BelongsToCurrentThread());
|
| DCHECK_EQ(state_, STATE_REINITIALIZING_DECODER);
|
| @@ -517,7 +517,7 @@
|
| // Also, Reset() can be called during pending ReinitializeDecoder().
|
| // This function needs to handle them all!
|
|
|
| - if (!success) {
|
| + if (status != PIPELINE_OK) {
|
| // Reinitialization failed. Try to fall back to one of the remaining
|
| // decoders. This will consume at least one decoder so doing it more than
|
| // once is safe.
|
|
|