changeset 17355:7a99d216c6b7

convert some printfs to mp_msg
author rathann
date Tue, 10 Jan 2006 11:09:03 +0000
parents 60189cd9bbc8
children afcb63aa2eed
files libmpcodecs/ve_lavc.c libmpdemux/demux_viv.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c	Mon Jan 09 19:35:44 2006 +0000
+++ b/libmpcodecs/ve_lavc.c	Tue Jan 10 11:09:03 2006 +0000
@@ -346,7 +346,7 @@
     mux_v->bih->biHeight=height;
     mux_v->bih->biSizeImage=mux_v->bih->biWidth*mux_v->bih->biHeight*(mux_v->bih->biBitCount/8);
 
-    printf("videocodec: libavcodec (%dx%d fourcc=%x [%.4s])\n",
+    mp_msg(MSGT_MENCODER, MSGL_INFO,"videocodec: libavcodec (%dx%d fourcc=%x [%.4s])\n",
 	mux_v->bih->biWidth, mux_v->bih->biHeight, mux_v->bih->biCompression,
 	    (char *)&mux_v->bih->biCompression);
 
--- a/libmpdemux/demux_viv.c	Mon Jan 09 19:35:44 2006 +0000
+++ b/libmpdemux/demux_viv.c	Tue Jan 10 11:09:03 2006 +0000
@@ -625,7 +625,7 @@
 		/* disable seeking */
 		demuxer->seekable = 0;
 
-		printf("VIVO Video stream %d size: display: %dx%d, codec: %ux%u\n",
+		mp_msg(MSGT_DEMUX,MSGL_STATUS,"VIVO Video stream %d size: display: %dx%d, codec: %ux%u\n",
 		    demuxer->video->id, sh->disp_w, sh->disp_h, sh->bih->biWidth,
 		    sh->bih->biHeight);
 }