Skip to content

Display and control your Android device

Log warning if recording stops before headers

Romain Vimont9d5e6d1c2013
diff --git a/app/src/recorder.c b/app/src/recorder.c
index 531c7899..f6d5fe4c 100644
--- a/app/src/recorder.c
+++ b/app/src/recorder.c
@@ -212,6 +212,7 @@ sc_recorder_process_header(struct sc_recorder *recorder) {
// If the recorder is stopped, don't process anything if there are not
// at least video packets
sc_mutex_unlock(&recorder->mutex);
+ LOGW("Recording stopped before headers were processed");
return false;
}