Fix flakiness in SimpleDecoderVideoRendererTest
The test had two problems:
1. It posts messages using a Handler and we need to idle the main looper
to actually deliver this message.
2. SimpleDecoder uses a background thread that is not within our control
from the test. Ensure the decoding happens after we queue input buffers
by using a lock.
PiperOrigin-RevId: 298300175
Showing
with
52 additions
and
0 deletions
Please
register
or
sign in
to comment