[MPlayer-dev-eng] [PATCH] ralf support with native demuxer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat May 26 20:21:41 CEST 2012


On Sat, May 26, 2012 at 08:00:34PM +0200, Roberto Togni wrote:
> Since most of this patch was copy&paste from other parts of the file,
> should I remove this code also elsewhere? I'm not really up to date with
> the lates api changes.

It's a really old change, but yes, it should be removed everywhere.
Note this applies to code like this that handles explicit selection
of a stream, like what happens with -aid 1 or -vid 2 or such.
The code to auto-select a most suitable (i.e. when the "chosen" id is
-1) needs to stay, new_sh_* can't really chose the "most suitable"
stream on its own, that kind of code needs to be in the demuxer (well,
I was thinking about making it select the first one by default and
just allowing the demuxer to override it, but I don't think I ever did
that).


More information about the MPlayer-dev-eng mailing list