diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-12-14 14:36:00 +0200 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-12-14 14:36:00 +0200 |
commit | a6b260bca5d264faa7e59b7371e1c8636be3adb6 (patch) | |
tree | b6723c401afca83bb0c9bd23eb258822ff6ba8f3 | |
parent | 981a3c413789f0194a1b9c351994f0fb70b9b524 (diff) | |
download | xine-lib-a6b260bca5d264faa7e59b7371e1c8636be3adb6.tar.gz xine-lib-a6b260bca5d264faa7e59b7371e1c8636be3adb6.tar.bz2 |
demux_ts: make sure old pts is not passed to metronom after seek / changed pids
-rw-r--r-- | src/demuxers/demux_ts.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 ) { |