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

Unified Diff: content/renderer/media/websourcebuffer_impl.h

Issue 361023003: WIP fixing/extending acolwell's init-segment-received patch Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to ToT. Lots of further work needed (BIG TODOs, nits-to-self, etc) Created 6 years, 6 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 | « content/renderer/media/webmediasource_impl.cc ('k') | content/renderer/media/websourcebuffer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/websourcebuffer_impl.h
diff --git a/content/renderer/media/websourcebuffer_impl.h b/content/renderer/media/websourcebuffer_impl.h
index b0e4fa686aed738299f5b320e49f1759a43c5343..3b37338f420456a377595b98bfa524f924e36a8e 100644
--- a/content/renderer/media/websourcebuffer_impl.h
+++ b/content/renderer/media/websourcebuffer_impl.h
@@ -14,6 +14,7 @@
namespace media {
class ChunkDemuxer;
+struct InitSegment;
}
namespace content {
@@ -37,6 +38,8 @@ class WebSourceBufferImpl : public blink::WebSourceBuffer {
virtual void setAppendWindowEnd(double end);
virtual void removedFromMediaSource();
+ void OnNewInitSegment(const media::InitSegment& init_segment,
+ bool active_track_flag);
private:
std::string id_;
media::ChunkDemuxer* demuxer_; // Owned by WebMediaPlayerImpl.
« no previous file with comments | « content/renderer/media/webmediasource_impl.cc ('k') | content/renderer/media/websourcebuffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698