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

Unified Diff: media/base/android/demuxer_stream_player_params.h

Issue 254473010: Refactor MSE implementation on Android to simplify the logic and improve the performance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: media/base/android/demuxer_stream_player_params.h
diff --git a/media/base/android/demuxer_stream_player_params.h b/media/base/android/demuxer_stream_player_params.h
index e77d5d294a506302f15230845e9fdcc3fbcc6b13..fac5aff8da1d202b70031d88c4a3397ea6f41827 100644
--- a/media/base/android/demuxer_stream_player_params.h
+++ b/media/base/android/demuxer_stream_player_params.h
@@ -54,6 +54,10 @@ struct MEDIA_EXPORT DemuxerData {
DemuxerStream::Type type;
std::vector<AccessUnit> access_units;
+ // If the last entry in |access_units| has a status equal to |kConfigChanged|,
+ // a corresponding DemuxerConfigs is added into this vector. This solves the
wolenetz 2014/04/25 23:13:13 nit: mention that only the type-specific portion o
qinmin 2014/04/26 01:30:11 Done.
+ // issue that we need multiple IPCs when demuxer configs change.
+ std::vector<DemuxerConfigs> demuxer_configs;
};
}; // namespace media

Powered by Google App Engine
This is Rietveld 408576698