mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-16 08:41:08 +02:00
Update ngx_rtmp_play_module.c
fixed compilation with nginx 1.7.12
This commit is contained in:
parent
f62a083806
commit
6ce821727d
|
@ -291,7 +291,11 @@ ngx_rtmp_play_send(ngx_event_t *e)
|
|||
ngx_log_debug0(NGX_LOG_DEBUG_RTMP, s->connection->log, 0,
|
||||
"play: send buffer full");
|
||||
|
||||
ngx_post_event(e, &s->posted_dry_events);
|
||||
#if (nginx_version >= 1007012)
|
||||
ngx_post_event(e, (ngx_queue_t *) &s->posted_dry_events); // #ngxw
|
||||
#else
|
||||
ngx_post_event(e, &s->posted_dry_events); // #ngxw
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue