Ticket #1477: myth-xvmcattr.diff

File myth-xvmcattr.diff, 493 bytes (added by ivor, 20 years ago)
  • videoout_xv.cpp

     
    30093009            value = (int) (port_min + (range/100.0) * newValue);
    30103010
    30113011            X11S(XvSetPortAttribute(XJ_disp, xv_port, attributeAtom, value));
    3012 
     3012#ifdef USING_XVMC
     3013            X11S(XvMCSetAttribute(XJ_disp, xvmc_ctx, attributeAtom, value));
     3014#endif
    30133015            return newValue;
    30143016        }
    30153017    }