From a6b260bca5d264faa7e59b7371e1c8636be3adb6 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Wed, 14 Dec 2011 14:36:00 +0200 Subject: demux_ts: make sure old pts is not passed to metronom after seek / changed pids --- src/demuxers/demux_ts.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/demuxers/demux_ts.c b/src/demuxers/demux_ts.c index fb1d63ad8..88ccf49f4 100644 --- a/src/demuxers/demux_ts.c +++ b/src/demuxers/demux_ts.c @@ -474,6 +474,7 @@ static int demux_ts_dynamic_pmt_find (demux_ts_t *this, } m->counter = INVALID_CC; m->corrupted_pes = 1; + m->pts = 0; m->descriptor_tag = descriptor_tag; @@ -2470,6 +2471,7 @@ static int demux_ts_seek (demux_plugin_t *this_gen, m->buf = NULL; m->counter = INVALID_CC; m->corrupted_pes = 1; + m->pts = 0; } if( !playing ) { -- cgit v1.2.3