[MPlayer-dev-eng] [PATCH] demux_ts fixes

Nico nsabbi at libero.it
Wed Sep 17 22:59:18 CEST 2003


Hi,

with this patch I fixed the following bugs:

- ES streams whose first payload began in the payload of the next TS 
packets were discarded
- multi-packet sections for PAT and PMT couldn't be recognized
- one more way to identify AC3 and AAC (tested with some japanese DVB)
- changed the range of -aid -vid -sid to 0..8190  (8191 and 8192 are 
invalid)
- made the demuxer compatible with -sb (useful when a program begins 
encrypted but at a certain point
   turns free)
- unified the descriptors code to a specific function  rather than 
keeping it in parse_pmt


additions:
- made the demuxer compatible with -alang and -slang (see below)
- added demux support for DVD and DVB SPU subtitles; I tested it only 
with DVD over TS so far,
     I guess I will have to extend spudec.c   to handle DVB SPU
- subs can be detected after detection-time, because they can be infrequent
- added the parameter -tsprobe <OFF_T> to specify how far (in bytes) to 
search in the TS  the chosen streams
        in the detection phase
- for Diego: the doc update I posted for -tsprobe is still valid
- some minor cleanup

If it's ok, can someone apply it, please?

Thanks,
                Nico

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: demux_ts.c-20030917.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030917/29437fb0/attachment.asc>


More information about the MPlayer-dev-eng mailing list