[MPlayer-dev-eng] Patch for a pause property

Diego Biurrun diego at biurrun.de
Tue Jun 10 08:00:04 CEST 2008


On Mon, Jun 09, 2008 at 03:51:01AM -0500, Joshua Isom wrote:
> I'm working on a stateless frontend for mplayer.  And to give a good  
> feel for the app(a play/pause button that shows play or pause, not both, 
> and not two buttons), I wanted to know if mplayer was paused or not since 
> it could be controlled outside of my infrastructure.  Setting if it's 
> paused or not doesn't work, it just pauses it.  It only patches  
> command.c and not slave.txt.  I've never dealt with mplayer's internals  
> so this was mainly just to get what I needed than anything else.   
> Hopefully someone knows how to clean it up and get it working right.

some quick comments:
- don't mix spaces and tabs for indentation
- add documentation to DOCS/tech/slave.txt

Diego



More information about the MPlayer-dev-eng mailing list