comparison libmpdemux/demuxer.h @ 35392:092c40fbd33d

Try to improve seeking in files with only few video packets, in particular files with cover art. This might cause issues with badly interleaved files, particularly together with -audio-delay, even though I did not see issues in my very limited testing.
author reimar
date Mon, 26 Nov 2012 19:30:58 +0000
parents 26eddbd6353a
children 68794f2fbf1e
comparison
equal deleted inserted replaced
35391:d076af01765d 35392:092c40fbd33d
142 int pack_no; // serial number of packet 142 int pack_no; // serial number of packet
143 int flags; // flags of current packet (keyframe etc) 143 int flags; // flags of current packet (keyframe etc)
144 int non_interleaved; // 1 if this stream is not properly interleaved, 144 int non_interleaved; // 1 if this stream is not properly interleaved,
145 // so e.g. subtitle handling must do explicit reads. 145 // so e.g. subtitle handling must do explicit reads.
146 //--------------- 146 //---------------
147 int fill_count; // number of unsuccessful tries to get a packet
147 int packs; // number of packets in buffer 148 int packs; // number of packets in buffer
148 int bytes; // total bytes of packets in buffer 149 int bytes; // total bytes of packets in buffer
149 demux_packet_t *first; // read to first buffer after the current buffer from here 150 demux_packet_t *first; // read to first buffer after the current buffer from here
150 demux_packet_t *last; // append new packets from input stream to here 151 demux_packet_t *last; // append new packets from input stream to here
151 demux_packet_t *current;// needed for refcounting of the buffer 152 demux_packet_t *current;// needed for refcounting of the buffer