mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-16 11:35:06 +02:00
Fix structure member addressing
This commit is contained in:
parent
a9dc32bca6
commit
2d88c3ac3e
|
@ -1007,7 +1007,7 @@ ngx_rtmp_record_write_frame(ngx_rtmp_session_t *s,
|
||||||
if (rracf->interval != NGX_CONF_UNSET_MSEC) {
|
if (rracf->interval != NGX_CONF_UNSET_MSEC) {
|
||||||
// record interval should work if set, manual mode or not
|
// record interval should work if set, manual mode or not
|
||||||
now_t = ngx_cached_time->sec * 1000 + ngx_cached_time->msec;
|
now_t = ngx_cached_time->sec * 1000 + ngx_cached_time->msec;
|
||||||
next_t = rctx->last->sec * 1000 + rctx->last->msec + rracf->interval;
|
next_t = rctx->last.sec * 1000 + rctx->last.msec + rracf->interval;
|
||||||
|
|
||||||
if (now_t >= next_t) {
|
if (now_t >= next_t) {
|
||||||
make_new_node = 1;
|
make_new_node = 1;
|
||||||
|
|
Loading…
Reference in a new issue