summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine/demux_xvdr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xine/demux_xvdr.c b/xine/demux_xvdr.c
index 08775ca2..369fdee3 100644
--- a/xine/demux_xvdr.c
+++ b/xine/demux_xvdr.c
@@ -525,12 +525,10 @@ static void demux_xvdr_parse_ts (demux_xvdr_t *this, buf_element_t *buf)
/* parse PMT */
else if (ts_pid == ts_data->pmt_pid) {
- ts_data_flush(ts_data);
-
if (ts_parse_pmt(&ts_data->pmt, ts_data->program_number, buf->content)) {
/* PMT changed, reset ts->es converters */
- LOGMSG("PMT changed");
+ LOGMSG("PMT changed, resetting demuxer");
ts_data_ts2es_init(&ts_data, this->stream->video_fifo, this->stream->audio_fifo);
this->video_type = (ts_data->pmt.video_type == ISO_14496_PART10_VIDEO) ?