|
|
|
@ -186,7 +186,7 @@ public class TextureMediaEncoder extends VideoMediaEncoder<TextureConfig> { |
|
|
|
|
drainOutput(false); |
|
|
|
|
|
|
|
|
|
// Then draw on the surface.
|
|
|
|
|
LOG.v("onEvent -", |
|
|
|
|
LOG.i("onEvent -", |
|
|
|
|
"frameNumber:", mFrameNumber, |
|
|
|
|
"timestampUs:", frame.timestampUs(), |
|
|
|
|
"hasReachedMaxLength:", hasReachedMaxLength(), |
|
|
|
@ -228,7 +228,7 @@ public class TextureMediaEncoder extends VideoMediaEncoder<TextureConfig> { |
|
|
|
|
mWindow.setPresentationTime(frame.timestampNanos); |
|
|
|
|
mWindow.swapBuffers(); |
|
|
|
|
mFramePool.recycle(frame); |
|
|
|
|
LOG.v("onEvent -", |
|
|
|
|
LOG.i("onEvent -", |
|
|
|
|
"frameNumber:", mFrameNumber, |
|
|
|
|
"timestampUs:", frame.timestampUs(), |
|
|
|
|
"hasReachedMaxLength:", hasReachedMaxLength(), |
|
|
|
|