| Index: services/media/framework/engine.cc
|
| diff --git a/services/media/framework/engine.cc b/services/media/framework/engine.cc
|
| index 6c76e0b248147762535d7e86de0b05800745978f..642191334b8d38aacf2da17cbaac59accc09be5e 100644
|
| --- a/services/media/framework/engine.cc
|
| +++ b/services/media/framework/engine.cc
|
| @@ -39,6 +39,9 @@ void Engine::UnprepareInput(const InputRef& input) {
|
| }
|
|
|
| void Engine::FlushOutput(const OutputRef& output) {
|
| + if (!output.connected()) {
|
| + return;
|
| + }
|
| VisitDownstream(
|
| output,
|
| [] (const OutputRef& output,
|
|
|