From e6307997d2cf479d01a9993b6adba13e18543be0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 14 Feb 2013 14:49:50 +0100 Subject: demux: restructure code that warns about packet buffer overflows There should be no functional changes, except that way how avoiding spamming the terminal with the overflow warning is handled changes a bit. The removed check for ds->eof looks suspicious, but it should be redundant now. --- demux/demux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'demux/demux.h') diff --git a/demux/demux.h b/demux/demux.h index 621df5efcb..3af759316d 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -235,6 +235,7 @@ typedef struct demuxer { * that would make pts ambigious, preferably supports back/forward flags */ bool accurate_seek; enum timestamp_type timestamp_type; + bool warned_queue_overflow; struct demux_stream *ds[STREAM_TYPE_COUNT]; // video/audio/sub buffers -- cgit v1.2.3