mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-19 09:41:07 +02:00
fixed creating recorded file name
This commit is contained in:
parent
337714edef
commit
0b5c799b25
|
@ -397,7 +397,7 @@ ngx_rtmp_record_make_path(ngx_rtmp_session_t *s,
|
|||
}
|
||||
|
||||
if (ngx_strchr(rracf->suffix.data, '%')) {
|
||||
ngx_libc_localtime(ngx_cached_time->sec, &tm);
|
||||
ngx_libc_localtime(rctx->timestamp, &tm);
|
||||
p += strftime((char *) p, l - p, (char *) rracf->suffix.data, &tm);
|
||||
} else {
|
||||
p = ngx_cpymem(p, rracf->suffix.data,
|
||||
|
|
Loading…
Reference in a new issue