Issue metadata
Sign in to add a comment
|
Video pauses while scrolling on Moto X with unified media pipeline |
||||||||||||||||||||||||
Issue descriptionWhile the page is scrolling, video playback stops (audio stops as well). Also, if you scroll the video off the page and come back to it, the video is frozen while audio continues playing. See the attached screenrecording.
,
Apr 15 2016
It turns out the freezing occurs when: * MediaCodec is waiting for an output buffer to be returned to it, and * the video is offscreen, so the rendering pipeline is holding onto an unrendered frame, and * when you scroll the video back on screen, if more than 2 seconds have elapsed, the AVDA timer will have stopped. So when the output buffer is released, the timer is still off so playback freezes.
,
Apr 21 2016
does keeping the timer on all the time fix it? when i saw a very similar problem, it didn't. how many unrendered buffers is MediaCodec willing to provide in this case? i saw that it was willing to provide many, and they were returned to AVDA without rendering. are you seeing frames come back in ReusePictureBuffer when it's off-screen? if MC is only providing one buffer, then it makes sense. making the codec image start the timer is easy enough.
,
Apr 21 2016
Matt, can you take it or assign appropriately?
,
Apr 21 2016
Dale, were you still looking into fixing this?
,
Apr 22 2016
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by w...@chromium.org
, Apr 14 2016