changeset 5441:268ea6bda6ff

after some STFW i've found some info about fps codes
author arpi
date Sun, 31 Mar 2002 23:46:00 +0000
parents 5c3d36c1d92b
children 4d089fae69eb
files libmpdemux/mpeg_hdr.c
diffstat 1 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/mpeg_hdr.c	Sun Mar 31 23:30:55 2002 +0000
+++ b/libmpdemux/mpeg_hdr.c	Sun Mar 31 23:46:00 2002 +0000
@@ -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
 };