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

Unified Diff: media/filters/chunk_demuxer.h

Issue 2199913002: Notify demux stream clients when a stream is disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't pass DemuxerStream into the status callback Created 4 years, 4 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/mock_filters.h ('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 9065829d2ae54d1b28087f09173e3a81f19a5cbf..1e4f357f262f342c34adef88fed71c561aeb6db2 100644
--- a/media/filters/chunk_demuxer.h
+++ b/media/filters/chunk_demuxer.h
@@ -113,7 +113,7 @@ class MEDIA_EXPORT ChunkDemuxerStream : public DemuxerStream {
VideoRotation video_rotation() override;
bool enabled() const override;
void set_enabled(bool enabled, base::TimeDelta timestamp) override;
- void SetStreamRestartedCB(const StreamRestartedCB& cb) override;
+ void SetStreamStatusChangeCB(const StreamStatusChangeCB& cb) override;
// Returns the text track configuration. It is an error to call this method
// if type() != TEXT.
@@ -158,7 +158,7 @@ class MEDIA_EXPORT ChunkDemuxerStream : public DemuxerStream {
bool splice_frames_enabled_;
bool partial_append_window_trimming_enabled_;
bool is_enabled_;
- StreamRestartedCB stream_restarted_cb_;
+ StreamStatusChangeCB stream_status_change_cb_;
DISALLOW_IMPLICIT_CONSTRUCTORS(ChunkDemuxerStream);
};
« no previous file with comments | « media/base/mock_filters.h ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698