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

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

Issue 257323003: Remove the IPC to request DemuxerConfigs when config changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding CHECK to enforce the optional demuxer_configs only has 0 or 1 element Created 6 years, 7 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/android/demuxer_android.h ('k') | media/base/android/media_decoder_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0b8886eb3b1403eee70bc83928d398d3932b680f 100644
--- a/media/base/android/demuxer_stream_player_params.h
+++ b/media/base/android/demuxer_stream_player_params.h
@@ -54,6 +54,12 @@ 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. The
+ // DemuxerConfigs should only contain information of the stream that is
+ // specified by |type|. This solves the issue that we need multiple IPCs when
+ // demuxer configs change.
+ std::vector<DemuxerConfigs> demuxer_configs;
};
}; // namespace media
« no previous file with comments | « media/base/android/demuxer_android.h ('k') | media/base/android/media_decoder_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698