Update git submodules
* Update platform/cts from branch 'master'
- Merge "Reset video stream during pause"
- Reset video stream during pause
In the CTS tunnel mode flush test, we expect the first frame queued
after flush to get rendered, but because the video gets paused at an
arbitrary position, the first frame could not be an independent frame
(for instance, an I frame). In particular, it could depend from frames
that have been queued and flushed previously.
To work around this, we seek the video to beginning (because we assume
the first video frame is an I frame), and we account for the pts
discontinuity by introducing an offset.
Test: atest android.media.decoder.cts.DecoderTest
(cherry picked from commit 51a8639f4f0b38683aef26d8bd81a803c3dee0db)
1 file changed