mirror of
https://bitbucket.org/ohhara/ohmulticastvideoscanner.git
synced 2025-06-06 15:36:34 +00:00
Use g_get_real_time() in m3u filename generation.
g_get_monotonic_time() resets after reboot in some platforms. Use g_get_real_time() instead of g_get_monotonic_time() to avoid m3u filename collision.
This commit is contained in:
parent
20fcf95852
commit
ad95a4c05f
@ -665,7 +665,7 @@ int main(int argc, char *argv[]) {
|
||||
omvs_gst_plugin_register();
|
||||
|
||||
g_mkdir(_omvs_outdir, 0755);
|
||||
time = g_get_monotonic_time();
|
||||
time = g_get_real_time();
|
||||
m3u_path = g_strdup_printf("%s/omvs_%" G_GUINT64_FORMAT ".m3u", _omvs_outdir,
|
||||
time);
|
||||
if (!_omvs_quiet) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user