[vlc-commits] demux: ts: avoid PAT fixup loop
Francois Cartegnie
git at videolan.org
Thu Feb 26 17:24:59 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Feb 26 17:24:30 2015 +0100| [e72bccd567436646de1bcb571543556b105cc672] | committer: Francois Cartegnie
demux: ts: avoid PAT fixup loop
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e72bccd567436646de1bcb571543556b105cc672
---
modules/demux/ts.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 5dad154..cd85856 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -5206,6 +5206,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt )
return;
}
+ pmt->b_seen = true;
if( prg->i_version != -1 &&
( !p_pmt->b_current_next || prg->i_version == p_pmt->i_version ) )
@@ -5618,6 +5619,8 @@ static void PATCallBack( void *data, dvbpsi_pat_t *p_pat )
msg_Dbg( p_demux, "PATCallBack called" );
+ pat->b_seen = true;
+
if( ( pat->psi->i_pat_version != -1 &&
( !p_pat->b_current_next ||
p_pat->i_version == pat->psi->i_pat_version ) ) ||
More information about the vlc-commits
mailing list