From 1280614c9f3dd85ba1fa2f19f0b4d40f011bb8ee Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 1 Nov 2009 09:48:34 +0000 Subject: Unbreak the demuxer-specific code in video.c with e.g. -audiofile by moving the code to manually interleave subtitles to mp_common.c. video.c should still be changed to not be demuxer-specific anymore, it is bad practice but fully fixing it is non-trivial. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29810 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demuxer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmpdemux/demuxer.h') diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index 77b20e1bcf..5d62f1bb52 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -142,6 +142,8 @@ typedef struct { off_t dpos; // position in the demuxed stream int pack_no; // serial number of packet int flags; // flags of current packet (keyframe etc) + int non_interleaved; // 1 if this stream is not properly interleaved, + // so e.g. subtitle handling must do explicit reads. //--------------- int packs; // number of packets in buffer int bytes; // total bytes of packets in buffer -- cgit v1.2.3