[MPlayer-dev-eng] [PATCH] vo_macosx: option to set shared buffer name to allow multiple instances
Guillaume POIRIER
poirierg at gmail.com
Tue Dec 9 14:49:21 CET 2008
Hello,
On Tue, Dec 9, 2008 at 2:46 PM, Adrian Stutz <adrian at sttz.ch> wrote:
> Hello,
>
> If vo_macosx is used with shared_buffer, the current implementation uses a
> fixed name ("mplayerosx") for the shared memory as well as the NSConnection
> used to talk to the GUI frontend.
>
> If two instances of the GUI are opened this way, the two will conflict and
> the video will play in the first GUI instance regardless of which instance
> the video was opened with.
>
> 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.
>
> Since I had to touch the suboption parsing, I also exchanged vo_macosx's
> custom parsing with subopt_parse based on how vo_gl implements it. I can
> split this in two patches if needed.
Yep, please both split and _attach_ the patch ;-)
Guillaume
--
Only a very small fraction of our DNA does anything; the rest is all
comments and ifdefs.
Dwight L. Moody - "I have had more trouble with myself than with any
other man I've met."
More information about the MPlayer-dev-eng
mailing list