[MPlayer-dev-eng] [PATCH] make vo_corevideo visible on all Spaces

Rowan James rowanj at phere.net
Tue Apr 19 15:53:19 CEST 2011


On 19/04/2011, at 9:33 PM, Diego Biurrun wrote:

> On Tue, Apr 19, 2011 at 08:39:29PM +1000, Rowan James wrote:
>> 
>> Attached is a patch to make the CoreVideo output visible on all Spaces
>> (OS X workspace-switching desktops).
> 
> Why would anybody want that?  It defeats the purpose of multiple
> desktops...

Well, I want it to keep what I'm watching in a small window while I switch
between other desktops (scratching the proverbial itch).

I'd be perfectly happy to add a '-sticky' option or '-vo corevideo:sticky'
parameter, or some such.

mplayer -ontop -fixed-vo -geometry 320x240-0-50 -sticky ...

> 
>> While the patch itself is quite small (one line, and the condition
>> to check for OS X 10.5 or later where the API became available); I'm
>> unsure if it should have an option to enable this or not.
> 
> Would it even work on 10.4?

If built with the 10.5 or newer SDK (so the constant used was defined) it
should be fine; the message name, etc. is resolved when used at runtime,
so it would throw an exception on older platforms *if* the version check
wasn't used to bypass it.

> 
> Diego
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list