Index: media/filters/decoder_stream.cc |
diff --git a/media/filters/decoder_stream.cc b/media/filters/decoder_stream.cc |
index 757bd60987b8706754c2bb10f36d5fdecd815feb..bacba005ec744d7b6a1b176bc06b923ca6cee5bc 100644 |
--- a/media/filters/decoder_stream.cc |
+++ b/media/filters/decoder_stream.cc |
@@ -506,7 +506,7 @@ void DecoderStream<StreamType>::ReinitializeDecoder() { |
} |
template <DemuxerStream::Type StreamType> |
-void DecoderStream<StreamType>::OnDecoderReinitialized(PipelineStatus status) { |
+void DecoderStream<StreamType>::OnDecoderReinitialized(bool success) { |
FUNCTION_DVLOG(2); |
DCHECK(task_runner_->BelongsToCurrentThread()); |
DCHECK_EQ(state_, STATE_REINITIALIZING_DECODER); |
@@ -517,7 +517,7 @@ void DecoderStream<StreamType>::OnDecoderReinitialized(PipelineStatus status) { |
// Also, Reset() can be called during pending ReinitializeDecoder(). |
// This function needs to handle them all! |
- if (status != PIPELINE_OK) { |
+ if (!success) { |
// 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. |