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

Unified Diff: media/filters/chunk_demuxer.h

Issue 2379653004: Rename MediaSourceState -> SourceBufferState (Closed)
Patch Set: nits Created 4 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 | « media/base/media_track.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 0ab9c1b1cae0c22d967fbef1daafc263ea0c451c..77f4054217a54dc438ddb33a79e9253254bc0d7e 100644
--- a/media/filters/chunk_demuxer.h
+++ b/media/filters/chunk_demuxer.h
@@ -23,7 +23,7 @@
#include "media/base/media_tracks.h"
#include "media/base/ranges.h"
#include "media/base/stream_parser.h"
-#include "media/filters/media_source_state.h"
+#include "media/filters/source_buffer_state.h"
#include "media/filters/source_buffer_stream.h"
namespace media {
@@ -345,11 +345,11 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
// false if any can not.
bool CanEndOfStream_Locked() const;
- // MediaSourceState callbacks.
+ // SourceBufferState callbacks.
void OnSourceInitDone(const std::string& source_id,
const StreamParser::InitParameters& params);
- // Creates a DemuxerStream of the specified |type| for the MediaSourceState
+ // Creates a DemuxerStream of the specified |type| for the SourceBufferState
// with the given |source_id|.
// Returns a pointer to a new ChunkDemuxerStream instance, which is owned by
// ChunkDemuxer.
@@ -435,11 +435,11 @@ class MEDIA_EXPORT ChunkDemuxer : public Demuxer {
base::Time timeline_offset_;
DemuxerStream::Liveness liveness_;
- std::map<std::string, std::unique_ptr<MediaSourceState>> source_state_map_;
+ std::map<std::string, std::unique_ptr<SourceBufferState>> source_state_map_;
std::map<std::string, std::vector<ChunkDemuxerStream*>> id_to_streams_map_;
// Used to hold alive the demuxer streams that were created for removed /
- // released MediaSourceState objects. Demuxer clients might still have
+ // released SourceBufferState objects. Demuxer clients might still have
// references to these streams, so we need to keep them alive. But they'll be
// in a shut down state, so reading from them will return EOS.
std::vector<std::unique_ptr<ChunkDemuxerStream>> removed_streams_;
« no previous file with comments | « media/base/media_track.h ('k') | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698