diff --git a/cameraview/src/main/java/com/otaliastudios/cameraview/video/SnapshotVideoRecorder.java b/cameraview/src/main/java/com/otaliastudios/cameraview/video/SnapshotVideoRecorder.java index e88a9c7e..814a7069 100644 --- a/cameraview/src/main/java/com/otaliastudios/cameraview/video/SnapshotVideoRecorder.java +++ b/cameraview/src/main/java/com/otaliastudios/cameraview/video/SnapshotVideoRecorder.java @@ -79,6 +79,7 @@ public class SnapshotVideoRecorder extends VideoRecorder implements RendererFram protected void onStart() { mPreview.addRendererFrameCallback(this); mDesiredState = STATE_RECORDING; + dispatchVideoRecordingStart(); } @Override @@ -240,7 +241,7 @@ public class SnapshotVideoRecorder extends VideoRecorder implements RendererFram @Override public void onEncodingStart() { - dispatchVideoRecordingStart(); + //do nothing } @Override