Ticket #2241: i830mIEGD.patch

File i830mIEGD.patch, 915 bytes (added by greg, 14 years ago)
  • libs/libmythtv/videoout_xv.cpp

     
    6565#endif
    6666
    6767//#define USE_ATI_PROPRIETARY_DRIVER_XVIDEO_HACK
     68#define USE_INTEL_IEGD_XVIDEO_HACK
    6869
    6970static void SetFromEnv(bool &useXvVLD, bool &useXvIDCT, bool &useXvMC,
    7071                       bool &useXV, bool &useShm);
     
    857858#ifdef USE_ATI_PROPRIETARY_DRIVER_XVIDEO_HACK
    858859    swap(ids[0], ids[2]);
    859860#endif // USE_ATI_PROPRIETARY_DRIVER_XVIDEO_HACK
     861#ifdef USE_INTEL_IEGD_XVIDEO_HACK
     862    // Temp hack for the Intel IEGD driver (i830Mchipset) used
     863    // by the S100 and MSNTV2 settop boxes. YV12 planar is preferred
     864    // regardless of what other formats it returns.
     865    swap(ids[0], ids[2]);
     866#endif
    860867
    861868    for (uint i = 0; i < sizeof(ids)/sizeof(int); i++)
    862869    {