Ticket #6660: colorkey_v3.diff

File colorkey_v3.diff, 959 bytes (added by markk, 15 years ago)
  • libs/libmythtv/videoout_xv.cpp

     
    10851085{
    10861086    // Deal with the nVidia 6xxx & 7xxx cards which do
    10871087    // not support chromakeying with the latest drivers
    1088     if (xv_colorkey || !chroma_osd)
     1088    if (((xv_colorkey != (int)XJ_letterbox_colour) && chroma_osd) || !chroma_osd)
    10891089        return true;
    10901090
    10911091    VERBOSE(VB_IMPORTANT, LOC + "Ack! Disabling ChromaKey OSD"
     
    13311331    // the same color as the MythTV letterboxing (currently Black).
    13321332    // This avoids avoid bob-deint actually bobbing the borders of
    13331333    // the video up and down..
    1334     int letterbox_color = 0;
     1334    int letterbox_color = XJ_letterbox_colour;
    13351335    static const char *attr_chroma = "XV_COLORKEY";
    13361336    if (!xv_is_attrib_supported(disp, xv_port, attr_chroma, &xv_colorkey))
    13371337    {