[mythtv] [PATCH] MacOS X crash fixed (Was: Compile error in videoout_quartz.cpp on MacOS X)

Eggert Thorlacius eggi-spam at menandmice.com
Thu Apr 28 11:25:38 UTC 2005


On 28.4.2005, at 00:47, Daniel Kristjansson wrote:

> On Wed, 2005-04-27 at 22:27 +0000, Eggert Thorlacius wrote:
>> On 27.4.2005, at 14:45, Eggert Thorlacius wrote:
>
>> Thanks Daniel, for fixing the #include problem.  Unfortunately it did
>> not fix the crash in VideoOutputQuartz::Init().  I did a bit of
>> debugging and discovered that CGDisplayCurrentMode() was referring to
>> data that DisplayResOSX::GetDisplaySize() had incorrectly deleted.  I
>> have attached a fix for this, as well as a small #ifdef to prevent the
>> Mac build from #including videoout_xv.h
>
> I've put your fixes in CVS. Except I didn't include config.h,
> was there a reason you needed that in videoout_xv.h?

No, I needed it because I was using CONFIG_DARWIN which is defined 
there.  However, using USING_XVMC like you do works just as well.

Eggert



More information about the mythtv-dev mailing list