[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.165,1.166
Richard Felker CVS
syncmail at mplayerhq.hu
Fri Sep 10 04:07:18 CEST 2004
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv8113/libmpdemux
Modified Files:
demuxer.c
Log Message:
show video format for all demuxers, not just avi (move this somewhere else if you prefer)
Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -r1.165 -r1.166
--- demuxer.c 12 Aug 2004 12:36:08 -0000 1.165
+++ demuxer.c 10 Sep 2004 02:07:16 -0000 1.166
@@ -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;
}
More information about the MPlayer-cvslog
mailing list