Skip to content

Commit 8174141

Browse files
authored
Merge pull request #71 from eschmar/bugfix/exit-on-muted-audio
Make sure onExit is called if there is no audio stream
2 parents 02d7f8d + 660a2db commit 8174141

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gpuv/src/main/java/com/daasuu/gpuv/camerarecorder/GPUCameraRecorder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public void onExit(final MediaEncoder encoder) {
230230
if (encoder instanceof MediaAudioEncoder && audioStopped) {
231231
audioExitReady = true;
232232
}
233-
if (videoExitReady && audioExitReady) {
233+
if (videoExitReady && (audioExitReady || mute)) {
234234
cameraRecordListener.onVideoFileReady();
235235
}
236236
}

0 commit comments

Comments
 (0)