Skip to content

Commit ab18ff1

Browse files
committed
encapp: removed double sleep for buffer encoder
Signed-off-by: Johan Blome <johan@gunhildcarling.net>
1 parent 9ce62bf commit ab18ff1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

app/src/main/java/com/facebook/encapp/BufferEncoder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,6 @@ public String start() {
326326
flags += MediaCodec.BUFFER_FLAG_END_OF_STREAM;
327327
input_done = true;
328328
}
329-
if (mRealtime) {
330-
sleepUntilNextFrame();
331-
}
332329
if (index >= 0) {
333330
failures = 0;
334331
int size = -1;

0 commit comments

Comments
 (0)