[MPlayer-cygwin] Slave mode

Anton Ragnarsson anton at infeline.org
Mon Jan 9 18:32:45 CET 2006


From: "Turbos X" <turbos10 at interia.pl>:
> Hans-Carl Oberdalhoff napisał(a):
> > Hi,
> >
> > 09 Jan 2006 00:53:53  0100, Turbos X >turbos10 at interia.pl>:
> > >     char* lpBuffer="mute\0"; DWORD aaa;
> > The last time I tried MPlayer-slave mode in Cygwin, MPlayer only
> > understood commands, if they were followed by a whitespace. I don&#039;t
> > remember, if a newline was needed after the whitespace...
>
> It don't work to. Mayby I icorrect use CreateProcess. Can You or anybody 
> share working source?

I've attached code for a class that launches and controls mplayer.
It won't compile standalone, and it's a bit old (the threading code isn't 
very robust in this version),
but I guess it shows enough to be helpful.

.anton

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: MPlayerControl2.h
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20060109/a1dba00e/attachment.asc>


More information about the MPlayer-cygwin mailing list