mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 17:17:16 +09:00
Create example start recording script
This commit is contained in:
@@ -2571,7 +2571,7 @@ int main(int argc, char **argv) {
|
||||
} else {
|
||||
if(replay_buffer_size_secs == -1) {
|
||||
char directory_buf[PATH_MAX];
|
||||
strcpy(directory_buf, filename);
|
||||
snprintf(directory_buf, sizeof(directory_buf), "%s", filename);
|
||||
char *directory = dirname(directory_buf);
|
||||
if(strcmp(directory, ".") != 0 && strcmp(directory, "/") != 0) {
|
||||
if(create_directory_recursive(directory) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user