[MPlayer-dev-eng] [PATCH]: Make TS Demuxer add streams in the same order independent on if vid/aid was set on commandline

Nico Sabbi nsabbi at email.it
Tue Jan 16 22:57:39 CET 2007


elupus wrote:

>Hi, 
>
>Here's a patch which makes the ts demuxer add it's streams to a_streams[]
>and v_streams[] independent on if vid/aid was set from commandline. It
>didn't turn out exactly as clean as I initially intended due to the extra
>checks in ts_detect_streams for non aligned A52 streams. 
>
>Another idea would be to duplicate the adding of streams during probing to
>ts_detect_streams. Could add a function which is called both from there and
>from ts_parse when not probing.
>
>/Joakim
>  
>
I don't like this patch, because ts_detect_streams() is called only 
during the
probing phase, thus it should never allocate sh_audio and sh_video structs.
I don't see the reason for this patch; maybe some audio or video tracks
are not detected in some of your samples? if so upload a sample to 
incoming, please



More information about the MPlayer-dev-eng mailing list