[MPlayer-dev-eng] [PATCH] fix load_per_file_config call position
Kirill Belokurov
kirill.belokurov at gmail.com
Sun Nov 4 07:26:09 CET 2007
Hi!
The attached trivial patch fixes too early invocation of load_per_file_config
function: this fixes the issue when for the files loaded via "loadfile ..."
or "loadlist ..." commands the per-file config is not read when mplayer runs
in idle+slave mode ( because filename==NULL till the user input, which
happens after load per-file config call attempt ).
The way to test it:
1) run mplayer as "mplayer -slave -idle"
2) create a per file config, say ~/.mplayer/movie.avi.conf
3) type into mplayer input "loadfile /path/to/movie.avi" -- w/o patch the
per-file config won't be read and line "Loading config
~/.mplayer/movie.avi.conf" won't be printed
Regards, Kirill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_per_load_file_config_call_position.diff
Type: text/x-diff
Size: 700 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20071104/5464e304/attachment.diff>
More information about the MPlayer-dev-eng
mailing list