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

Diego Biurrun diego at biurrun.de
Thu Apr 21 17:35:16 CEST 2011


On Tue, Apr 19, 2011 at 11:53:19PM +1000, Rowan James wrote:
> 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.

We can talk about that, but I believe this would be a wrong default :)

> >> 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.

OK, I'll have to trust you on this one given that my Mac has died.

Diego


More information about the MPlayer-dev-eng mailing list