[mythtv] Compile error in videoout_quartz.cpp on MacOS X

Isaac Richards ijr at case.edu
Wed Apr 27 15:46:16 UTC 2005


On Wednesday 27 April 2005 09:37 am, Daniel Kristjansson wrote:
> On Wed, 2005-04-27 at 09:23 +0000, Eggert Thorlacius wrote:
> > Hello
> >
> > I am trying to compile MythTV on MacOS X for the first time after
> > Daniel committed the Xv-XvMC patch and I am having problems with
> > videoout_quartz.cpp.  It seemes that the data type CodecType is defined
> > both in libavcodec/avcodec.h and in QuickTime.h
>
> This is my fault, I added avcodec.h to videooutbase.h for the CodecID
> type. Is it difficult to put QuickTime.h into a namespace? Putting
> avcodec.h in a namespace requires changing many files.

It'd be easy to just remove avcodec.h from videooutbase.h..  No real reason 
it's needed there.  I don't like using another lib's enums in our internals, 
anyway.

Isaac


More information about the mythtv-dev mailing list