mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
Only return true from isReady after rendering.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=110231626
This commit is contained in:
parent
f16b8baf75
commit
3a958ed522
1 changed files with 1 additions and 1 deletions
|
|
@ -376,7 +376,7 @@ public final class LibvpxVideoTrackRenderer extends SampleSourceTrackRenderer {
|
|||
|
||||
@Override
|
||||
protected boolean isReady() {
|
||||
return format != null && (sourceIsReady || outputBuffer != null);
|
||||
return format != null && (sourceIsReady || outputBuffer != null) && renderedFirstFrame;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in a new issue