mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
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
This commit is contained in:
parent
38321e0fe4
commit
c3a928cbe6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user