diff 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
line wrap: on
line diff
--- a/libmpdemux/demuxer.h	Mon Nov 26 11:32:50 2012 +0000
+++ b/libmpdemux/demuxer.h	Mon Nov 26 19:30:58 2012 +0000
@@ -144,6 +144,7 @@
   int non_interleaved;     // 1 if this stream is not properly interleaved,
                            // so e.g. subtitle handling must do explicit reads.
 //---------------
+  int fill_count;         // number of unsuccessful tries to get a packet
   int packs;              // number of packets in buffer
   int bytes;              // total bytes of packets in buffer
   demux_packet_t *first;  // read to first buffer after the current buffer from here