Ticket #2381: videooutbase.cpp.patch

File videooutbase.cpp.patch, 639 bytes (added by awk@…, 14 years ago)
  • videooutbase.cpp

     
    2424#endif
    2525
    2626#ifdef Q_OS_MACX
     27#include "videoout_corevideo.h"
    2728#include "videoout_quartz.h"
    2829#endif
    2930
     
    6667#endif
    6768
    6869#ifdef Q_OS_MACX
    69     return new VideoOutputQuartz();
     70    if (VideoOutputCoreVideo::IsCoreVideoSupported())
     71    {
     72        return new VideoOutputCoreVideo();
     73    }
     74    else
     75    {
     76        return new VideoOutputQuartz();
     77    }
    7078#endif
    7179
    7280    VERBOSE(VB_IMPORTANT, "Not compiled with any useable video output method.");