mirror of https://github.com/mpv-player/mpv
convert some printfs to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17356 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ad978de549
commit
f39b891ba0
|
@ -346,7 +346,7 @@ static int config(struct vf_instance_s* vf,
|
||||||
mux_v->bih->biHeight=height;
|
mux_v->bih->biHeight=height;
|
||||||
mux_v->bih->biSizeImage=mux_v->bih->biWidth*mux_v->bih->biHeight*(mux_v->bih->biBitCount/8);
|
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,
|
mux_v->bih->biWidth, mux_v->bih->biHeight, mux_v->bih->biCompression,
|
||||||
(char *)&mux_v->bih->biCompression);
|
(char *)&mux_v->bih->biCompression);
|
||||||
|
|
||||||
|
|
|
@ -625,7 +625,7 @@ static demuxer_t* demux_open_vivo(demuxer_t* demuxer){
|
||||||
/* disable seeking */
|
/* disable seeking */
|
||||||
demuxer->seekable = 0;
|
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,
|
demuxer->video->id, sh->disp_w, sh->disp_h, sh->bih->biWidth,
|
||||||
sh->bih->biHeight);
|
sh->bih->biHeight);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue