mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Schedule doSomeWork after setVideoOutput
PiperOrigin-RevId: 693374521
This commit is contained in:
parent
286273c10e
commit
28b75f7d29
@ -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…
x
Reference in New Issue
Block a user