mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Fix video tunneling state transition to ready
Issue: #2985 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160827532
This commit is contained in:
parent
960315c4d5
commit
d733bb4101
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
|
|||
@Override
|
||||
public boolean isReady() {
|
||||
if (super.isReady() && (renderedFirstFrame || (dummySurface != null && surface == dummySurface)
|
||||
|| getCodec() == null)) {
|
||||
|| getCodec() == null || tunneling)) {
|
||||
// Ready. If we were joining then we've now joined, so clear the joining deadline.
|
||||
joiningDeadlineMs = C.TIME_UNSET;
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue