[Mplayer-cvslog] CVS: main/libmpdemux demux_mov.c,1.64,1.65
Arpi of Ize
arpi at mplayerhq.hu
Sun Jun 30 00:12:43 CEST 2002
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv15997
Modified Files:
demux_mov.c
Log Message:
dump edit list
Index: demux_mov.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mov.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- demux_mov.c 7 Jun 2002 23:49:13 -0000 1.64
+++ demux_mov.c 29 Jun 2002 22:12:41 -0000 1.65
@@ -585,13 +585,15 @@
mp_msg(MSGT_DEMUX, MSGL_V,"MOV: %*sEdit list table (%d entries) (ver:%d,flags:%ld)\n",
level, "",entries, ver, flags);
-#if 0
+#if 1
for (i=0;i<entries;i++)
{
- printf("entry#%d: dur: %ld mtime: %ld mrate: %ld\n",
- i, stream_read_dword(demuxer->stream),
- stream_read_dword(demuxer->stream),
- stream_read_dword(demuxer->stream));
+ int dur=stream_read_dword(demuxer->stream);
+ int mt=stream_read_dword(demuxer->stream);
+ int mr=stream_read_dword(demuxer->stream); // 16.16fp
+ mp_msg(MSGT_DEMUX, MSGL_V,"MOV: %*s entry#%d: duration: %d start time: %d speed: %3.1fx\n",level,"",
+ i,
+ dur,mt,(float)mr/65536.0f);
}
#endif
break;
More information about the MPlayer-cvslog
mailing list