Commit fda7023a authored by kmackay's avatar kmackay Committed by Commit bot

[Chromecast] Don't push buffers after the backend has been stopped

BUG= internal b/31488922

Review-Url: https://codereview.chromium.org/2340013002
Cr-Commit-Position: refs/heads/master@{#418636}
parent 5018fe68
......@@ -277,6 +277,10 @@ void AvPipelineImpl::OnBufferDecrypted(
LOG(WARNING) << "Can't decrypt with decrypt_context";
buffer->set_decrypt_context(std::move(decrypt_context));
}
if (!enable_feeding_)
return;
pending_buffer_ = buffer;
PushPendingBuffer();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment