[MPlayer-dev-eng] [PATCH] Create an async interface to Slave mode

Brian Murray brian at game-sat.com
Sat Dec 2 17:39:48 CET 2006


On 2-Dec-06, at 3:46 AM, Benjamin Zores wrote:

> On Sat, 2 Dec 2006 11:45:00 +0200
> Jan Knutar <jknutar at nic.fi> wrote:
>
>> On Saturday 02 December 2006 08:42, Brian Murray wrote:
>>> Being able to send a command to mplayer without having a pre- 
>>> existing
>>> open channel to it (such as stdin/out), and recieve data back.  
>>> Unless
>>> theres already an interface I overlooked... :S
>>
>> I have this in my ~/.mplayer/config :
>>
>> input= file=/home/jan/mplayerctrl
>>
>> where mplayerctrl is a fifo. This lets me send commands to MPlayer.
>> Would be nice to have another fifo to read output, too, of course :)
>
> I've sent such a patch with event/info retrieval capabilities few  
> months ago
> (something like August iirc).
>
> Ben

Hm. Well, part of this patch (to date), sorts out who sent the data,  
so multiple connections can effectively request data, and only the  
requester gets the data back. It prevents races for data coming back.

Want to send your patch (or provide a link to the mailing list  
archive post)? I wasn't subscribed back in august. 



More information about the MPlayer-dev-eng mailing list