[MPlayer-dev-eng] [PATCH] Allow loading config per stream type.
Ulion
ulion2002 at gmail.com
Fri Jan 4 06:00:57 CET 2008
2008/1/4, Benjamin Zores <ben at geexbox.org>:
> Hi,
>
> MPlayer currently allows having a specific config per file (i.e.
> myfile.avi.conf is used when myfile.avi is played).
>
> Attached patch does the same per stream
> => /etc/mplayer/tv.conf for tv://
> => /etc/mplayer/dvd.conf for dvd://
> => ...
>
> This may help having some options options you want to be defined for
> some stream type (deinterlacing filters, scalers, whatever ...) and do
> not want to have for other types.
>
> FWIK it's not possible today with monolitic mplayer.conf file.
>
> Is attached patch ok for this ?
+ snprintf (cfg, strlen (file) - strlen (str) + 1, file);
str - file + 1
--
Ulion
More information about the MPlayer-dev-eng
mailing list