Mercurial > mplayer.hg
changeset 13301:638673d1f83a
show video format for all demuxers, not just avi (move this somewhere else if you prefer)
author | rfelker |
---|---|
date | Fri, 10 Sep 2004 02:07:16 +0000 |
parents | 47dd02fb02df |
children | 05d3254e05b1 |
files | libmpdemux/demuxer.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demuxer.c Fri Sep 10 01:15:24 2004 +0000 +++ b/libmpdemux/demuxer.c Fri Sep 10 02:07:16 2004 +0000 @@ -1366,6 +1366,15 @@ #endif } // switch(file_format) pts_from_bps=0; // !!! +if ((sh_video=demuxer->video->sh) && sh_video->bih) + mp_msg(MSGT_DEMUX,MSGL_INFO,"VIDEO: [%.4s] %ldx%ld %dbpp %5.3f fps %5.1f kbps (%4.1f kbyte/s)\n", + (char *)&sh_video->bih->biCompression, + sh_video->bih->biWidth, + sh_video->bih->biHeight, + sh_video->bih->biBitCount, + sh_video->fps, + sh_video->i_bps*0.008f, + sh_video->i_bps/1024.0f ); return demuxer; }