diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-02 17:44:16 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-02 17:44:16 +0000 |
commit | 26398539cbd1e5225f41003b58128c132b4aebdf (patch) | |
tree | 254a8c2d2d012d8b466ad67669c17fb0411c799e /libmpdemux/demuxer.h | |
parent | 222a22353d0fe84f1e4fe3aeae36d66870e42606 (diff) | |
download | mpv-26398539cbd1e5225f41003b58128c132b4aebdf.tar.bz2 mpv-26398539cbd1e5225f41003b58128c132b4aebdf.tar.xz |
count blocks by rounded-up chunksizes instead of chunks -
we need full emulation of dshow avi demuxer bugs :(
fixes silly nandub-style a-v delaying in avi with vbr mp3...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6872 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demuxer.h')
-rw-r--r-- | libmpdemux/demuxer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index c831b19d97..b3790e6515 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -67,6 +67,7 @@ typedef struct { off_t pos; // position in the input stream (file) off_t dpos; // position in the demuxed stream int pack_no; // serial number of packet + int block_no; // number of <=block_size length blocks (for VBR mp3) int flags; // flags of current packet (keyframe etc) //--------------- int packs; // number of packets in buffer @@ -81,6 +82,8 @@ typedef struct { int asf_seq; // ---- mov ----- unsigned int ss_mul,ss_div; +// ---- avi ----- + unsigned int block_size; // ---- stream header ---- void* sh; } demux_stream_t; |