# HG changeset patch # User michael # Date 1066241204 0 # Node ID dcc3f551081883b39af3d3ef512264c9f09c4c24 # Parent a864d92bf6b8fdf6814ea56bc6005934bee7696d Enable decoding of more mpeg-ts streams for pcHDTV patch by (Doug Larrick ) diff -r a864d92bf6b8 -r dcc3f5510818 mpegts.c --- a/mpegts.c Wed Oct 15 15:21:46 2003 +0000 +++ b/mpegts.c Wed Oct 15 18:06:44 2003 +0000 @@ -975,7 +975,13 @@ if (ts->nb_services <= 0) { /* no SDT found, we try to look at the PAT */ - + + /* First remove the SDT filters from each PID */ + int i; + for (i=0; i < NB_PID_MAX; i++) { + if (ts->pids[i]) + mpegts_close_filter(ts, ts->pids[i]); + } url_fseek(pb, pos, SEEK_SET); mpegts_scan_pat(ts);