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

Unified Diff: media/base/stream_parser.h

Issue 1091293005: MSE: Relax the 'media segment must begin with keyframe' requirement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Checkpoint. Not ready for review yet. Created 5 years, 3 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/filters/chunk_demuxer.h » ('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 b072e738549581f69d417e2c3106c59d1f2d64ed..f59e3d1bd5e5637420847ff6fcabdf3c9743fc74 100644
--- a/media/base/stream_parser.h
+++ b/media/base/stream_parser.h
@@ -99,9 +99,6 @@ class MEDIA_EXPORT StreamParser {
const BufferQueue&,
const TextBufferQueueMap&)> NewBuffersCB;
- // Signals the beginning of a new media segment.
- typedef base::Callback<void()> NewMediaSegmentCB;
-
// A new potentially encrypted stream has been parsed.
// First parameter - The type of the initialization data associated with the
// stream.
@@ -123,7 +120,7 @@ class MEDIA_EXPORT StreamParser {
const NewBuffersCB& new_buffers_cb,
bool ignore_text_track,
const EncryptedMediaInitDataCB& encrypted_media_init_data_cb,
- const NewMediaSegmentCB& new_segment_cb,
+ const base::Closure& start_of_segment_cb,
const base::Closure& end_of_segment_cb,
const scoped_refptr<MediaLog>& media_log) = 0;
« no previous file with comments | « no previous file | media/filters/chunk_demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698