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

Unified Diff: media/filters/source_buffer.h

Issue 10389125: Refactor StreamParser creation & enforce configs matching expected stream types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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 | « media/filters/chunk_demuxer_unittest.cc ('k') | media/filters/source_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/source_buffer.h
diff --git a/media/filters/source_buffer.h b/media/filters/source_buffer.h
index 35d058c492f97c551a8579c70e0982e1017be1a4..a03c75eac7dad49335a3a98ee591f1687000f6e5 100644
--- a/media/filters/source_buffer.h
+++ b/media/filters/source_buffer.h
@@ -25,7 +25,8 @@ class MEDIA_EXPORT SourceBuffer {
typedef base::Callback<bool(const StreamParser::BufferQueue&)> NewBuffersCB;
typedef base::Callback<bool(scoped_array<uint8>, int)> KeyNeededCB;
- void Init(const InitCB& init_cb,
+ void Init(scoped_ptr<StreamParser> parser,
+ const InitCB& init_cb,
const NewConfigCB& config_cb,
const NewBuffersCB& audio_cb,
const NewBuffersCB& video_cb,
« no previous file with comments | « media/filters/chunk_demuxer_unittest.cc ('k') | media/filters/source_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698