summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demuxer.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-02 17:44:16 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-02 17:44:16 +0000
commit26398539cbd1e5225f41003b58128c132b4aebdf (patch)
tree254a8c2d2d012d8b466ad67669c17fb0411c799e /libmpdemux/demuxer.h
parent222a22353d0fe84f1e4fe3aeae36d66870e42606 (diff)
downloadmpv-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.h3
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;