[vlc-commits] demux: ts: rewrite psi structures and pid use tracking

Francois Cartegnie git at videolan.org
Mon Mar 2 21:39:05 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Mar  1 20:52:32 2015 +0100| [b9db3f9ad56ee7fe3a1f57e28e210efd65ac936e] | committer: Francois Cartegnie

demux: ts: rewrite psi structures and pid use tracking

* Fully track pid parenting
* Simplify tables updates by ref counting
* No longer allows pid collisions by funky or forged tables
* Kills the 0..8192 loops
* Removes the 8192 stream_Control on close
* Remove unnecessary members and arrays
* Removes the nonsense multiple program by pmt
* Avoids by number/pid lookups
* Restarts ES on format change

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b9db3f9ad56ee7fe3a1f57e28e210efd65ac936e
---

 modules/demux/ts.c | 2177 ++++++++++++++++++++++++++--------------------------
 1 file changed, 1104 insertions(+), 1073 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=b9db3f9ad56ee7fe3a1f57e28e210efd65ac936e


More information about the vlc-commits mailing list