Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: media/base/pipeline.cc

Issue 10829470: Support for parsing encrypted WebM streams by src. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing comments. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/pipeline.cc
diff --git a/media/base/pipeline.cc b/media/base/pipeline.cc
index a27bfc3d4af78bb015f2e5d5e68601bb181acb8e..f6541a386b26b40cfd44b70df63a4f870ee4edd9 100644
--- a/media/base/pipeline.cc
+++ b/media/base/pipeline.cc
@@ -249,6 +249,12 @@ void Pipeline::SetErrorForTesting(PipelineStatus status) {
SetError(status);
}
+void Pipeline::KeyAdded() {
+ DCHECK(demuxer_);
+ if (demuxer_)
+ demuxer_->KeyAdded();
+}
+
void Pipeline::SetState(State next_state) {
if (state_ != kStarted && next_state == kStarted &&
!creation_time_.is_null()) {

Powered by Google App Engine
This is Rietveld 408576698