[MPlayer-dev-eng] [PATCH] vo_macosx: option to set shared buffer name to allow multiple instances

David DeHaven dave at sagetv.com
Tue Dec 9 17:32:03 CET 2008


>> This patch adds a command-line option to set the name of the shared  
>> memory
>> as well as the NSConnection to allow multiple instances to live  
>> alongside
>> happily.
>
> What is the point of making it a command line option instead of e.g.
> just appending the pid so it works also for non-commandline users?

The intent seems to be when running with a wrapper application, which  
will set the command line args anyways.

Doing it by mplayers pid means you'd have to wait until mplayer  
launches then set up the shared memory. IMHO it'd be better to leave  
that up to the calling application, which is free to use its own pid  
if it want :)

-DrD-




More information about the MPlayer-dev-eng mailing list