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

Trent Piepho xyzzy at speakeasy.org
Wed Jan 17 00:18:14 CET 2007


On Tue, 16 Jan 2007, elupus wrote:
> In essence this is not really a bug that affects mplayer commandline
> version. I don't think there is any problem with detecting streams with the
> current way. However any gui that uses demuxer->a_streams[] to list
> available audio streams will get them in different order depending if any
> stream was specified on commandline.

That does make sense.  In all the multi-audio channels I've seen, the
streams do have a reason for the order they are listed in the PMT.  The first
one is always the primary audio, with the following streams alternate
languages or the SAP channel from a digital simulcast of an NTSC channel.

But, couldn't the gui just sort the streams by PID?  It seems like
the PMT normally lists the streams in PID order too.



More information about the MPlayer-dev-eng mailing list