[MPlayer-dev-eng] [PATCH] Replaced deprecated QuickDraw calls in vo_quartz

Chris Roccati roccati at pobox.com
Tue Dec 16 21:17:26 CET 2008


On 15 Dec 2008, at 23:24 , Guillaume POIRIER wrote:
> I see. That's indeed not the behavior the user would expect.

The fact is, that a "real" MacOS X application should sit inside the  
AppleEvent handling loop and perform its work there. The way MPlayer  
works makes this impossible. So, I decided to perform a single "run"  
thru the AppleEvent handler to collect the files provided as  
arguments by the Finder, build a playlist, and continue thru the  
normal MPlayer main(). This is somewhat ugly, but when I did submit  
the patch, it looked like it was the only way for the patch to be  
accepted.

> Yep, please do so. I have exactly zero knowledge on that part of OSX
> programming. Could you direct me to some documentation about that?

The application bundle "anatomy" is described here:
http://developer.apple.com/documentation/CoreFoundation/Conceptual/ 
CFBundles/Concepts/BundleAnatomy.html

The apple events handling is described here:
http://developer.apple.com/documentation/AppleScript/Conceptual/ 
AppleEvents/




More information about the MPlayer-dev-eng mailing list