Ensure livestream folder is exists
This commit is contained in:
1 parent
3ebdc215e6
commit
bb7d08abff
3 files changed
+3547
No files matched your search
+3541
File diff suppressed because it is too large.
Load diff
Binary file not shown.
@@ -140,6 +140,12 @@ int main(int argc, char* argv[]) {
|
|||||||
<< " buffer=" << g_config.track_buffer_1
|
<< " buffer=" << g_config.track_buffer_1
|
||||||
<< " min_hits=" << g_config.track_min_hits_1 << std::endl;
|
<< " min_hits=" << g_config.track_min_hits_1 << std::endl;
|
||||||
|
|
||||||
|
if (g_config.live_stream_enabled) {
|
||||||
|
std::filesystem::path live_p(g_config.live_stream_frame_path);
|
||||||
|
if (live_p.has_parent_path())
|
||||||
|
std::filesystem::create_directories(live_p.parent_path());
|
||||||
|
}
|
||||||
|
|
||||||
int class_ayam = g_config.ayam_class_id;
|
int class_ayam = g_config.ayam_class_id;
|
||||||
int class_talenan = g_config.talenan_class_id;
|
int class_talenan = g_config.talenan_class_id;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user