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

Unified Diff: media/base/demuxer.h

Issue 827013005: Avoid double task trampoline for Pipeline state transitions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 5 years, 11 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
« no previous file with comments | « no previous file | media/base/pipeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/demuxer.h
diff --git a/media/base/demuxer.h b/media/base/demuxer.h
index f7a9636e12be4d09b50e153a06cfd24c19cc508e..950b027acba7fdb19f3e3b6bd08b81aaec6c974f 100644
--- a/media/base/demuxer.h
+++ b/media/base/demuxer.h
@@ -58,7 +58,8 @@ class MEDIA_EXPORT Demuxer : public DemuxerStreamProvider {
// Completes initialization of the demuxer.
//
// The demuxer does not own |host| as it is guaranteed to outlive the
- // lifetime of the demuxer. Don't delete it!
+ // lifetime of the demuxer. Don't delete it! |status_cb| must only be run
+ // after this method has returned.
virtual void Initialize(DemuxerHost* host,
const PipelineStatusCB& status_cb,
bool enable_text_tracks) = 0;
« no previous file with comments | « no previous file | media/base/pipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698