From 4441723cf95591426aa9631696bfa8badfde9d94 Mon Sep 17 00:00:00 2001 From: arpi Date: Sun, 31 Mar 2002 23:46:00 +0000 Subject: after some STFW i've found some info about fps codes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5442 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/mpeg_hdr.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'libmpdemux') diff --git a/libmpdemux/mpeg_hdr.c b/libmpdemux/mpeg_hdr.c index 58089eef5d..956f8ebf11 100644 --- a/libmpdemux/mpeg_hdr.c +++ b/libmpdemux/mpeg_hdr.c @@ -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 }; -- cgit v1.2.3