From 70a7a6b4507e5b383707e6a9b8c02c17eadd91cc Mon Sep 17 00:00:00 2001 From: nicodvb Date: Wed, 12 Jan 2005 20:43:53 +0000 Subject: 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 --- libmpdemux/mpeg_hdr.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libmpdemux/mpeg_hdr.h') 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); -- cgit v1.2.3