diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-09-09 11:56:49 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-09-09 11:56:49 +0000 |
commit | b1c79a449e703a48c506720fff845c1dd8a0d59e (patch) | |
tree | 7971c3b50ad97e9ad579a4733b32f03aec9b01fc /src | |
parent | 5d01ac5af3edc3b4741cb0f0925380b2f8b6625f (diff) | |
download | nginx-b1c79a449e703a48c506720fff845c1dd8a0d59e.tar.gz nginx-b1c79a449e703a48c506720fff845c1dd8a0d59e.zip |
bugfix of r4086: nginx could not be built without debug log.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_mp4_module.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/modules/ngx_http_mp4_module.c b/src/http/modules/ngx_http_mp4_module.c index c5997c5e8..804448ff1 100644 --- a/src/http/modules/ngx_http_mp4_module.c +++ b/src/http/modules/ngx_http_mp4_module.c @@ -704,7 +704,7 @@ ngx_http_mp4_process(ngx_http_mp4_file_t *mp4) + ngx_http_mp4_update_mdat_atom(mp4, start_offset) - start_offset; - ngx_log_debug0(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, + ngx_log_debug1(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, "mp4 adjustment:%D", adjustment); for (i = 0; i < mp4->trak.nelts; i++) { @@ -794,7 +794,7 @@ ngx_http_mp4_read_atom(ngx_http_mp4_file_t *mp4, atom_name = atom_header + sizeof(uint32_t); - ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, + ngx_log_debug4(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, "mp4 atom: %*s @%O:%uL", 4, atom_name, mp4->offset, atom_size); @@ -1026,7 +1026,7 @@ ngx_http_mp4_update_mdat_atom(ngx_http_mp4_file_t *mp4, off_t start_offset) mp4->mdat_data.buf->file_pos = start_offset; mp4->content_length += atom_data_size; - ngx_log_debug1(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, + ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, "mdat new offset @%O:%O", start_offset, atom_data_size); atom_header = mp4->mdat_atom_header; @@ -2109,7 +2109,7 @@ ngx_http_mp4_update_ctts_atom(ngx_http_mp4_file_t *mp4, while (entry < end) { count = ngx_mp4_get_32value(entry->count); - ngx_log_debug2(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, + ngx_log_debug3(NGX_LOG_DEBUG_HTTP, mp4->file.log, 0, "start:%uD, count:%uD, offset:%uD", start_sample, count, ngx_mp4_get_32value(entry->offset)); |