diff options
-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)) { |