[MPlayer-dev-eng] [PATCH] add slave command for stop playback without to quit MPlayer (useful with -idle)

Mathieu SCHROETER mathieu.schroeter at gamesover.ch
Thu Mar 6 18:36:13 CET 2008


Hello,

I suggest this patch for add a new slave command 'stop' for
stop a playback without to quit MPlayer. I'm not sure if the
way of this patch is right or not!!! My knowledges of MPlayer
are limited!!

The reason for this patch is simple. With libplayer.geexbox.org,
MPlayer is loaded only at the init with -idle. And currently
I use a ugly hack for stop a stream without to quit MPlayer.
For that, I send the command `loadfile ""` then at least the
playback is stopped and no new file is loaded.
The -idle is IMHO a good reason for have this slave command
in MPlayer.


Regards,
-- 
Mathieu SCHROETER

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_cmd_stop_for_slave.patch
Type: text/x-patch
Size: 3592 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080306/b6d3b494/attachment.bin>


More information about the MPlayer-dev-eng mailing list