changeset 6611:958a46ceb865

dump edit list
author arpi
date Sat, 29 Jun 2002 22:12:41 +0000
parents 242d1b98a15f
children de59eb5cf6ce
files libmpdemux/demux_mov.c
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Sat Jun 29 22:12:07 2002 +0000
+++ b/libmpdemux/demux_mov.c	Sat Jun 29 22:12:41 2002 +0000
@@ -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;