diff options
author | phintuka <phintuka> | 2010-05-20 13:10:55 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-05-20 13:10:55 +0000 |
commit | 8cbd707613b8c0508485cba1f77d8850cbc5ca21 (patch) | |
tree | 1fa9c4c099962b15d0a89cdd95123299666e9d84 | |
parent | 38f0e6073966cfb0e2e470a03721cba7d8b5f059 (diff) | |
download | xineliboutput-8cbd707613b8c0508485cba1f77d8850cbc5ca21.tar.gz xineliboutput-8cbd707613b8c0508485cba1f77d8850cbc5ca21.tar.bz2 |
Flush ts demuxer caches when interrupted (demux_action_pending)
-rw-r--r-- | xine/demux_xvdr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xine/demux_xvdr.c b/xine/demux_xvdr.c index 652c34e2..68c6c5cd 100644 --- a/xine/demux_xvdr.c +++ b/xine/demux_xvdr.c @@ -416,9 +416,8 @@ static void demux_xvdr_parse_pack (demux_xvdr_t *this) if (!buf) { if (errno == EINTR) { - /* very verbose logging ? */ - if (iSysLogLevel >= SYSLOGLEVEL_VERBOSE) - LOGDBG("input->read_block() was interrupted"); + LOGVERBOSE("input->read_block() was interrupted"); + ts_data_flush(this->ts_data); } else if (errno != EAGAIN) { LOGDBG("DEMUX_FINISHED (input returns NULL with error)"); this->status = DEMUX_FINISHED; |