[vlc-commits] demux: ts: reset mpeg4desc/iod pointer on PMT update
Francois Cartegnie
git at videolan.org
Wed Mar 25 23:08:55 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Mar 25 23:04:53 2015 +0100| [8c1ef02b29c3a07691ac5535c8a376d237989a8a] | committer: Francois Cartegnie
demux: ts: reset mpeg4desc/iod pointer on PMT update
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8c1ef02b29c3a07691ac5535c8a376d237989a8a
---
modules/demux/ts.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 9a10ca8..a4b8b0e 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -5208,6 +5208,8 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_dvbpsipmt )
{
IODFree( p_pmt->iod );
p_pmt->iod = NULL;
+ for( int i=0; i<old_es_rm.i_size; i++ )
+ old_es_rm.p_elems[i]->u.p_pes->es.p_mpeg4desc = NULL;
}
msg_Dbg( p_demux, "new PMT program number=%d version=%d pid_pcr=%d",
More information about the vlc-commits
mailing list