diff options
author | jbrjake <[email protected]> | 2008-10-09 15:11:27 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2008-10-09 15:11:27 +0000 |
commit | ffe47d6ff6ac8b5241081d382302694bfe297fee (patch) | |
tree | f6c6f41cbc896ba9ddc7e9bafa99cfd638eb1529 /libhb/muxcommon.c | |
parent | 45307049935e7f3a991957d35f699bb00a288a5b (diff) |
After discussion with eddyg, extending verbose logging level 2 from just memory-related logging to general-purpose housekeeping--stuff that isn't necessary when scrolling through activity logs users submit with bug reports and support queries. This includes things like thread start/exit messages and preview frames.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1820 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/muxcommon.c')
-rw-r--r-- | libhb/muxcommon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/muxcommon.c b/libhb/muxcommon.c index dcbba1583..b09c5c58f 100644 --- a/libhb/muxcommon.c +++ b/libhb/muxcommon.c @@ -190,20 +190,20 @@ static void MuxerFunc( void * _mux ) if( !stat( job->file, &sb ) ) { - hb_log( "mux: file size, %lld bytes", (uint64_t) sb.st_size ); + hb_deep_log( 2, "mux: file size, %lld bytes", (uint64_t) sb.st_size ); bytes_total = 0; frames_total = 0; for( i = 0; i < hb_list_count( list ); i++ ) { track = hb_list_item( list, i ); - hb_log( "mux: track %d, %lld bytes, %.2f kbps", + hb_deep_log( 2, "mux: track %d, %lld bytes, %.2f kbps", i, track->bytes, 90000.0 * track->bytes / mux->pts / 125 ); if( !i && ( job->vquality < 0.0 || job->vquality > 1.0 ) ) { /* Video */ - hb_log( "mux: video bitrate error, %+lld bytes", + hb_deep_log( 2, "mux: video bitrate error, %+lld bytes", track->bytes - mux->pts * job->vbitrate * 125 / 90000 ); } @@ -213,7 +213,7 @@ static void MuxerFunc( void * _mux ) if( bytes_total && frames_total ) { - hb_log( "mux: overhead, %.2f bytes per frame", + hb_deep_log( 2, "mux: overhead, %.2f bytes per frame", (float) ( sb.st_size - bytes_total ) / frames_total ); } |