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

Unified Diff: media/base/stream_parser.h

Issue 195973006: Allow StreamParsers to request automatic timestampOffset updates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add ADTS tests. Created 6 years, 9 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/base/run_all_unittests.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/stream_parser.h
diff --git a/media/base/stream_parser.h b/media/base/stream_parser.h
index 6e380aa06e1c1576a2f876fc96bbdd055843c052..c5410e3c385e9d801a30f791ff4f2133e5c35684 100644
--- a/media/base/stream_parser.h
+++ b/media/base/stream_parser.h
@@ -53,9 +53,12 @@ class MEDIA_EXPORT StreamParser {
// First parameter - Indicates initialization success. Set to true if
// initialization was successful. False if an error
// occurred.
- // Second parameter - Indicates the stream duration. Only contains a valid
- // value if the first parameter is true.
- typedef base::Callback<void(bool, base::TimeDelta)> InitCB;
+ // Second parameter - Indicates the stream duration. Only contains a valid
+ // value if the first parameter is true.
+ // Third parameters - Indicates that timestampOffset should be updated based
+ // on the earliest end timestamp (audio or video) provided
+ // during each NewBuffersCB.
+ typedef base::Callback<void(bool, base::TimeDelta, bool)> InitCB;
// Indicates when new stream configurations have been parsed.
// First parameter - The new audio configuration. If the config is not valid
« no previous file with comments | « media/base/run_all_unittests.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698