# HG changeset patch # User rathann # Date 1136891343 0 # Node ID 7a99d216c6b7b5d0c77df1ec52c059a35f3aa599 # Parent 60189cd9bbc89e192c120ecb5fd0f612c33b3bb0 convert some printfs to mp_msg diff -r 60189cd9bbc8 -r 7a99d216c6b7 libmpcodecs/ve_lavc.c --- 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); diff -r 60189cd9bbc8 -r 7a99d216c6b7 libmpdemux/demux_viv.c --- 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); }