diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-12 20:43:53 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-01-12 20:43:53 +0000 |
commit | 70a7a6b4507e5b383707e6a9b8c02c17eadd91cc (patch) | |
tree | f94e4c8e2bc1d08a926e33e11171dbca0372c38b /libmpdemux/mpeg_hdr.h | |
parent | 55689c29a6d68778823cd8931d37ca75a83c6835 (diff) | |
download | mpv-70a7a6b4507e5b383707e6a9b8c02c17eadd91cc.tar.bz2 mpv-70a7a6b4507e5b383707e6a9b8c02c17eadd91cc.tar.xz |
automatic fps calculation for mpeg4 in raw stream/mpeg-ts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14478 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/mpeg_hdr.h')
-rw-r--r-- | libmpdemux/mpeg_hdr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmpdemux/mpeg_hdr.h b/libmpdemux/mpeg_hdr.h index 96ebe4fba9..05b78660b5 100644 --- a/libmpdemux/mpeg_hdr.h +++ b/libmpdemux/mpeg_hdr.h @@ -15,7 +15,12 @@ typedef struct { int progressive_frame; int top_field_first; int display_time; // secs*100 + //the following are for mpeg4 + int timeinc_resolution, timeinc_bits, timeinc_unit; + int picture_type; } mp_mpeg_header_t; int mp_header_process_sequence_header (mp_mpeg_header_t * picture, unsigned char * buffer); int mp_header_process_extension (mp_mpeg_header_t * picture, unsigned char * buffer); +int mp4_header_process_vol(mp_mpeg_header_t * picture, unsigned char * buffer); +int mp4_header_process_vop(mp_mpeg_header_t * picture, unsigned char * buffer); |