summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-29 22:12:41 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-29 22:12:41 +0000
commit3b83c27cc3414aafea85af02cb1803da2081b112 (patch)
tree1b41f5390dced65fb752d885dd5ca9a2e0709578 /libmpdemux
parentdb683916adb8101eba11813d64434477322278a9 (diff)
downloadmpv-3b83c27cc3414aafea85af02cb1803da2081b112.tar.bz2
mpv-3b83c27cc3414aafea85af02cb1803da2081b112.tar.xz
dump edit list
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6612 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_mov.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libmpdemux/demux_mov.c b/libmpdemux/demux_mov.c
index d3c5a1ae30..88162330c3 100644
--- a/libmpdemux/demux_mov.c
+++ b/libmpdemux/demux_mov.c
@@ -585,13 +585,15 @@ static void lschunks(demuxer_t* demuxer,int level,off_t endpos,mov_track_t* trak
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;