mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 17:40:23 +00:00
Dump: do not create a dir (created by export)
This commit is contained in:
@@ -59,10 +59,6 @@ struct dump_display_state {
|
||||
string dirname;
|
||||
time_t now = time(NULL);
|
||||
dirname = "dump." + to_string(now);
|
||||
if (platform_mkdir(dirname.c_str()) == -1) {
|
||||
perror("mkdir");
|
||||
throw string("Unable to create directory!");
|
||||
}
|
||||
e = export_init(NULL, dirname.c_str(), true);
|
||||
}
|
||||
~dump_display_state() {
|
||||
|
||||
Reference in New Issue
Block a user