Ticket #1842: cn400-mythtv-vid-config.patch

File cn400-mythtv-vid-config.patch, 1.2 KB (added by teague@…, 13 years ago)

Fixed broken configure logic for VLD

  • configure

     
    27022702        VENDOR_XVMC_LIBS="-lXvMCNVIDIA"
    27032703        enable xvmc
    27042704        disable xvmc_vld
    2705     elif enabled xvmc_pro; then
    2706         disable xvmc_pro
    2707         if has_library libviaXvMCPro ; then
    2708             VENDOR_XVMC_LIBS="-lviaXvMCPro"
    2709             enable xvmc xvmc_vld xvmc_pro
    2710         fi
    27112705    elif has_library libviaXvMC ; then
    27122706        VENDOR_XVMC_LIBS="-lviaXvMC"
    27132707        enable xvmc xvmc_vld
     
    27162710        enable xvmc
    27172711        disable xvmc_vld
    27182712    fi
     2713
     2714    if enabled xvmc_pro; then
     2715        disable xvmc_pro
     2716        if has_library libviaXvMCPro ; then
     2717            VENDOR_XVMC_LIBS="-lviaXvMCPro"
     2718            enable xvmc xvmc_vld xvmc_pro
     2719        fi
     2720    fi
     2721
    27192722else
    27202723    disable xvmc_vld xvmc_opengl
    27212724fi
     
    27362739    fi
    27372740fi
    27382741
    2739 disabled xvmc_opengl || enable opengl && disable xvmc_vld xvmc_pro
     2742disabled xvmc_opengl || (enable opengl && disable xvmc_vld xvmc_pro)
    27402743disabled opengl_video || enable opengl
    27412744has_library libGL || disable opengl_video xvmc_opengl opengl_vsync opengl
    27422745