Update ngx_rtmp_play_module.c

fixed compilation with nginx 1.7.12
This commit is contained in:
itpp16 2015-04-09 12:57:07 +02:00
parent f62a083806
commit 6ce821727d

View file

@ -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;
}