mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
Schedule doSomeWork after setVideoOutput
PiperOrigin-RevId: 693374521
This commit is contained in:
parent
286273c10e
commit
28b75f7d29
1 changed files with 4 additions and 1 deletions
|
|
@ -1552,7 +1552,10 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
|||
for (RendererHolder renderer : renderers) {
|
||||
renderer.setVideoOutput(videoOutput);
|
||||
}
|
||||
|
||||
if (playbackInfo.playbackState == Player.STATE_READY
|
||||
|| playbackInfo.playbackState == Player.STATE_BUFFERING) {
|
||||
handler.sendEmptyMessage(MSG_DO_SOME_WORK);
|
||||
}
|
||||
if (processedFlag != null) {
|
||||
synchronized (this) {
|
||||
processedFlag.set(true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue