export gpu for hwaccel

This commit is contained in:
MickLesk
2026-01-06 20:15:22 +01:00
parent 769796ca54
commit 0d9e3c56e0
2 changed files with 3 additions and 2 deletions

View File

@@ -2577,8 +2577,8 @@ function setup_gs() {
# ------------------------------------------------------------------------------
function setup_hwaccel() {
# Check if user explicitly disabled GPU in advanced settings
if [[ "${var_gpu:-no}" == "no" ]]; then
msg_info "GPU acceleration disabled by user (var_gpu=no) - skipping setup"
# ENABLE_GPU is exported from build.func
if [[ "${ENABLE_GPU:-no}" == "no" ]]; then
return 0
fi