[MPlayer-dev-eng] Slave-mode patch

Kilian A. Foth foth at informatik.uni-hamburg.de
Mon Nov 19 09:32:53 CET 2001


Hi there,

here is a tiny patch for running mplayer as a backend to another
program.

When the -slave option is given, mplayer will react not to keypresses,
but to command lines read from stdin, such as `seek 130'; the
ultra-simple protocol is explained in the man page.

(I wrote this because I can't use popen() from Emacs lisp :-)

I have built this in Linux 2.4 and Solaris 8.

This is my first patch ever. Be gentle with me.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-slave-mode-patch
Type: application/octet-stream
Size: 4016 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20011119/3f05afe8/attachment.obj>


More information about the MPlayer-dev-eng mailing list