summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_vfw.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-27 17:25:41 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-27 17:25:41 +0000
commita33158d60d04f21ee10881ccc5cd295e1aae5bca (patch)
tree021a6f021ecf99a2deebe6d17cb1574dc97673a5 /libmpcodecs/vd_vfw.c
parente2c173be10fa87ef6df3049d80fcca80a2d1a174 (diff)
downloadmpv-a33158d60d04f21ee10881ccc5cd295e1aae5bca.tar.bz2
mpv-a33158d60d04f21ee10881ccc5cd295e1aae5bca.tar.xz
Convert printfs in aviprint.c to mp_msg and give the information printing
functions in this file a verbosity_level parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vd_vfw.c')
-rw-r--r--libmpcodecs/vd_vfw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/vd_vfw.c b/libmpcodecs/vd_vfw.c
index eb8d304a29..bbb70b05d2 100644
--- a/libmpcodecs/vd_vfw.c
+++ b/libmpcodecs/vd_vfw.c
@@ -138,7 +138,7 @@ static int control(sh_video_t *sh,int cmd,void* arg,...){
return CONTROL_UNKNOWN;
}
-extern void print_video_header(BITMAPINFOHEADER *h);
+extern void print_video_header(BITMAPINFOHEADER *h, int verbose_level);
// init driver
static int init(sh_video_t *sh){
@@ -241,9 +241,9 @@ static int init(sh_video_t *sh){
set_csp(priv->o_bih,sh->codec->outfmt[sh->outfmtidx]);
mp_msg(MSGT_WIN32, MSGL_V, "Input format:\n");
- if( mp_msg_test(MSGT_HEADER,MSGL_V) ) print_video_header(sh->bih);
+ if( mp_msg_test(MSGT_HEADER,MSGL_V) ) print_video_header(sh->bih,MSGL_V);
mp_msg(MSGT_WIN32, MSGL_V, "Output format:\n");
- if( mp_msg_test(MSGT_HEADER,MSGL_V) ) print_video_header(priv->o_bih);
+ if( mp_msg_test(MSGT_HEADER,MSGL_V) ) print_video_header(priv->o_bih,MSGL_V);
// set postprocessing level in xvid/divx4 .dll
ICSendMessage(priv->handle, ICM_USER+80, (long)(&divx_quality), 0);