From c3a928cbe6689a78a7bfa45dcd12b33dbf7673c3 Mon Sep 17 00:00:00 2001 From: rfelker Date: Fri, 10 Sep 2004 02:07:16 +0000 Subject: show video format for all demuxers, not just avi (move this somewhere else if you prefer) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13302 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demuxer.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libmpdemux/demuxer.c') diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c index 2eb55f5f24..aa8a61d755 100644 --- a/libmpdemux/demuxer.c +++ b/libmpdemux/demuxer.c @@ -1366,6 +1366,15 @@ switch(file_format){ #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; } -- cgit v1.2.3