Check EOS is not signalled when queueing bitmap and texture
This is consistent with Surface input PiperOrigin-RevId: 650298944
This commit is contained in:
parent
972007abef
commit
ecd8a33f01
@ -532,6 +532,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
|
||||
|
||||
@Override
|
||||
public boolean queueInputBitmap(Bitmap inputBitmap, TimestampIterator timestampIterator) {
|
||||
checkState(!inputStreamEnded);
|
||||
if (!inputStreamRegisteredCondition.isOpen()) {
|
||||
return false;
|
||||
}
|
||||
@ -554,6 +555,7 @@ public final class DefaultVideoFrameProcessor implements VideoFrameProcessor {
|
||||
|
||||
@Override
|
||||
public boolean queueInputTexture(int textureId, long presentationTimeUs) {
|
||||
checkState(!inputStreamEnded);
|
||||
if (!inputStreamRegisteredCondition.isOpen()) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user