[MPlayer-dev-eng] Slave-mode idle loop patch
Timothy Lee
timothy.lee at siriushk.com
Thu Nov 18 03:03:36 CET 2004
Dear Selwyn,
Here is my version of the slave-mode idle loop patch. It adds a
'-daemon' option instead of modifying the original behavior of the
'-slave' option. The commands 'loadfile', 'loadlist', 'switch_ratio'
and 'quit' are supported.
My rational for the extra option is that some programs may depend on the
default behavior of the '-slave' option to function properly. (ie:
MPlayer always exits when a movie has stopped playing). One application
that comes to mind is mplayerd.
Regards,
Timothy
Selwyn Tang wrote:
> Attached is my implementation of a slave-mode idle loop. It's
> triggered once a file's eof is reached and it's loop count met. Then
> it handles a subset of commands, currently 'loadfile' and 'quit'. I
> just copied pieces of code from here and there.
>
> Any comments and advice are welcome.
>
> Selwyn
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mplayer-daemon.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20041118/bde6e8b5/attachment.txt>
More information about the MPlayer-dev-eng
mailing list