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

Unified Diff: media/filters/chunk_demuxer.h

Issue 2667283002: Refactor MediaResource to be multi-stream capable (Closed)
Patch Set: Created 3 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 | « media/base/pipeline_impl_unittest.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/filters/chunk_demuxer.h
diff --git a/media/filters/chunk_demuxer.h b/media/filters/chunk_demuxer.h
index 32eaded69fb2e42e255b8ba866af7b4c3c5e04bd..9e02f516cba6b124b679e8a2bcd8189ac0b4d84e 100644
--- a/media/filters/chunk_demuxer.h
+++ b/media/filters/chunk_demuxer.h
@@ -116,7 +116,8 @@ class MEDIA_EXPORT ChunkDemuxerStream : public DemuxerStream {
VideoRotation video_rotation() override;
bool enabled() const override;
void set_enabled(bool enabled, base::TimeDelta timestamp) override;
- void SetStreamStatusChangeCB(const StreamStatusChangeCB& cb) override;
+
+ void SetStreamStatusChangeCB(const StreamStatusChangeCB& cb);
// Returns the text track configuration. It is an error to call this method
// if type() != TEXT.
@@ -196,7 +197,8 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
void Stop() override;
void Seek(base::TimeDelta time, const PipelineStatusCB& cb) override;
base::Time GetTimelineOffset() const override;
- DemuxerStream* GetStream(DemuxerStream::Type type) override;
+ std::vector<DemuxerStream*> GetStreams() override;
+ void SetStreamStatusChangeCB(const StreamStatusChangeCB& cb) override;
base::TimeDelta GetStartTime() const override;
int64_t GetMemoryUsage() const override;
void AbortPendingReads() override;
« no previous file with comments | « media/base/pipeline_impl_unittest.cc ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698