I’m making some good progress on video. The main issue was SDL 1.2 behaving differently on OS X, due to the fact that Linux relies on GLX for certain things. Videos actually sort of play now, although there’s no sound (because I haven’t finished working Portaudio into the DVDAudioPlayer), and videos play at strange rates. Sometime fast, sometimes slow. I think it’s freaking out mostly because there’s no audio, although there may be some timing issues.
I enhanced QueryPerformanceCounter to start counting from zero for each thread, since on Linux it uses CLOCK_PROCESS_CPUTIME_ID. I thought this might help the timing, but it looks like the DVDClock keeps its own start time.
Here’s Al Gore talking about how XBMC really rocks on OS X.
And here’s a video playing while on the main screen. Is it just me, or is that guy’s hand on Audrey Tautou’s breast? How very scandalous.