diff options
| author | phintuka <phintuka> | 2010-02-19 11:55:32 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2010-02-19 11:55:32 +0000 |
| commit | 2e140dc627f02b136f2dcb802fa46c06b9aabe22 (patch) | |
| tree | 2f394d5a71440ba96807d26f137e6359fca393ea | |
| parent | e8008180938321865ffee1f53c35560faa9b466e (diff) | |
| download | xineliboutput-2e140dc627f02b136f2dcb802fa46c06b9aabe22.tar.gz xineliboutput-2e140dc627f02b136f2dcb802fa46c06b9aabe22.tar.bz2 | |
Flush mpeg-ts demuxer caches when entering mpeg-pes mode
| -rw-r--r-- | xine/demux_xvdr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xine/demux_xvdr.c b/xine/demux_xvdr.c index d18d47ef..3e2e47d5 100644 --- a/xine/demux_xvdr.c +++ b/xine/demux_xvdr.c @@ -428,6 +428,11 @@ static void demux_xvdr_parse_pes (demux_xvdr_t *this, buf_element_t *buf) this->stream_id = p[3]; + if (this->ts_data) { + ts_data_flush(this->ts_data); + ts_data_dispose(&this->ts_data); + } + if (IS_VIDEO_PACKET(p)) { result = parse_video_stream(this, p, buf); } else if (IS_MPEG_AUDIO_PACKET(p)) { |
