[Mplayer-cvslog] CVS: main/libmpdemux mpeg_hdr.c,1.2,1.3

Arpi of Ize arpi at mplayer.dev.hu
Mon Apr 1 01:46:03 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv6700

Modified Files:
	mpeg_hdr.c 
Log Message:
after some STFW i've found some info about fps codes

Index: mpeg_hdr.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/mpeg_hdr.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mpeg_hdr.c	31 Mar 2002 23:30:55 -0000	1.2
+++ mpeg_hdr.c	31 Mar 2002 23:46:00 -0000	1.3
@@ -9,10 +9,16 @@
 
 static int frameratecode2framerate[16] = {
   0,
-  // Official mpeg1/2 framerates:
-  24000*10000/1001, 24*10000,25*10000, 30000*10000/1001, 30*10000,50*10000,60000*10000/1001, 60*10000,
-  // libmpeg3's "Unofficial economy rates":
-  299700,5*10000,10*10000,12*10000,15*10000,0,0
+  // Official mpeg1/2 framerates: (1-8)
+  24000*10000/1001, 24*10000,25*10000,
+  30000*10000/1001, 30*10000,50*10000,
+  60000*10000/1001, 60*10000,
+  // Xing's 15fps: (9)
+  15*10000,
+  // libmpeg3's "Unofficial economy rates": (10-13)
+  5*10000,10*10000,12*10000,15*10000,
+  // some invalid ones: (14-15)
+  0,0
 };
 
 




More information about the MPlayer-cvslog mailing list