summaryrefslogtreecommitdiffstats
path: root/libmpdemux/mpeg_hdr.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 13:53:41 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-21 13:53:41 +0000
commit264e6c23fef6ea156cb9653f911e6ec4e95b4813 (patch)
treec68100d66636115da52c2de355ef0c865df8b602 /libmpdemux/mpeg_hdr.h
parent28cf6ea2be72588dba3b35db864bf63182d1b17f (diff)
downloadmpv-264e6c23fef6ea156cb9653f911e6ec4e95b4813.tar.bz2
mpv-264e6c23fef6ea156cb9653f911e6ec4e95b4813.tar.xz
Parse and use the information from the frame rate extension header for MPEG-2.
-identify still does not show the right values though. Fixes bug #1636. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30681 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/mpeg_hdr.h')
-rw-r--r--libmpdemux/mpeg_hdr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/mpeg_hdr.h b/libmpdemux/mpeg_hdr.h
index d9922767b2..ccd84bcdb0 100644
--- a/libmpdemux/mpeg_hdr.h
+++ b/libmpdemux/mpeg_hdr.h
@@ -27,6 +27,8 @@ typedef struct {
int aspect_ratio_information;
int frame_rate_code;
float fps;
+ int frame_rate_extension_n;
+ int frame_rate_extension_d;
int bitrate; // 0x3FFFF==VBR
// timing:
int picture_structure;