mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-14 02:14:27 +01:00
Report recording error on write error
The error flag was mistakenly set to false instead of true.
This commit is contained in:
@@ -444,7 +444,7 @@ sc_recorder_process_packets(struct sc_recorder *recorder) {
|
||||
int ret = av_write_trailer(recorder->ctx);
|
||||
if (ret < 0) {
|
||||
LOGE("Failed to write trailer to %s", recorder->filename);
|
||||
error = false;
|
||||
error = true;
|
||||
}
|
||||
|
||||
end:
|
||||
|
||||
Reference in New Issue
Block a user