调整时长

serial
Matthew 1 year ago
parent 6e52602807
commit 72454c9628

@ -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();

Loading…
Cancel
Save