@ -675,7 +675,7 @@ public class Camera2VideoActivity extends AppCompatActivity {
int aa = 0;
}
}, 999 + mDuration * 1000);
}, 1200L + mDuration * 1000);
@ -64,6 +64,7 @@ public class MediaVideoEncoder extends MediaEncoder {
@Override
public boolean frameAvailableSoon() {
Log.d(TAG, "frameAvailableSoon");
boolean result;
if (result = super.frameAvailableSoon()) {
encodeRenderHandler.prepareDraw();