summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-24 08:12:03 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-24 08:12:03 +0000
commiteebf08b978f91243bb6eed54012267cc27183438 (patch)
tree83ce4df0814283621f24ef1d3ea4217981046993 /mencoder.c
parent35e90f1556475ee205dee6c253b788ab073133c0 (diff)
downloadmpv-eebf08b978f91243bb6eed54012267cc27183438.tar.bz2
mpv-eebf08b978f91243bb6eed54012267cc27183438.tar.xz
Convert all if(verbose>X) to mp_msg_test calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mencoder.c b/mencoder.c
index a2eff6be11..8bb49dfeba 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -964,7 +964,7 @@ case ACODEC_COPY:
break;
}
-if (verbose>1) print_wave_header(mux_a->wf);
+if ( mp_msg_test(MSGT_MENCODER,MSGL_DBG2) ) print_wave_header(mux_a->wf);
if (! ignore_start)
muxer->audio_delay_fix += sh_audio->stream_delay;
@@ -1447,7 +1447,7 @@ if(sh_audio && !demuxer2){
(int)demuxer->movi_end);
#else
if(!quiet) {
- if(verbose>0) {
+ if( mp_msg_test(MSGT_AVSYNC,MSGL_V) ) {
mp_msg(MSGT_AVSYNC,MSGL_STATUS,"Pos:%6.1fs %6df (%2d%%) %3dfps Trem:%4dmin %3dmb A-V:%5.3f [%d:%d] A/Vms %d/%d D/B/S %d/%d/%d \r",
mux_v->timer, decoded_frameno, (int)(p*100),
(t>1) ? (int)(decoded_frameno/t+0.5) : 0,