| Index: media/test/data/player.html
|
| diff --git a/media/test/data/player.html b/media/test/data/player.html
|
| index a1f46392928fc983cacc00579ae129b0ae7b3f35..7577d8619f9cc173116311f28cb52000353615ba 100644
|
| --- a/media/test/data/player.html
|
| +++ b/media/test/data/player.html
|
| @@ -84,7 +84,12 @@ function RunTest() {
|
| player.controls = true;
|
| document.getElementById('player_container').appendChild(player);
|
|
|
| - player.addEventListener('loadedmetadata', function(e) {
|
| + // We use loadeddata instead of loadedmetadata to ensure the decoder has
|
| + // completed initialization, even though we don't need to decode anything to
|
| + // get the size metadata. This is an unfortunate workaround for an Android
|
| + // framework bug (http://crbug.com/682387) where we have to avoid killing
|
| + // the GPU process while the decoder is initializing.
|
| + player.addEventListener('loadeddata', function(e) {
|
| document.title = '' + player.videoWidth + ' ' + player.videoHeight;
|
| });
|
|
|
|
|