diff options
author | Christian Strømme <christian.stromme@theqtcompany.com> | 2015-11-28 14:46:40 +0100 |
---|---|---|
committer | Christian Stromme <christian.stromme@theqtcompany.com> | 2016-01-08 00:04:19 +0000 |
commit | 62268c2d4b4e80ec139e09568e35d585b1f9c62b (patch) | |
tree | 69439466d4d0013e77d8eeaafe54a1da7a1bfdc6 /examples/multimediawidgets/player/doc/src/player.qdoc | |
parent | 3bd9da9aba63b51114a3602313e51085954be194 (diff) |
Android: Media player improvments.
Add locks around the global media player pool to avoid races. And since
we don't need any of the features a map provides us, there's no reason
to use one. In the most extreme case it's unlikely that there will be
more then a couple media players active at one time, so iterating over
continuously storage containing only pointers should be at least as
fast, if not faster, then a map or a hash (and use less space).
Change-Id: Id8d7810b43a9217da402a4b825d7beec891cdf74
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'examples/multimediawidgets/player/doc/src/player.qdoc')
0 files changed, 0 insertions, 0 deletions