Enable LTO for FFmpeg

This commit is contained in:
Cameron Gutman
2026-05-27 23:21:56 -05:00
parent dc6c0d3315
commit a2ef7a4a0c
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -134,7 +134,8 @@ jobs:
- name: Build FFmpeg
working-directory: deps/FFmpeg
run: |
./configure --enable-pic --disable-static --enable-shared --disable-all --disable-autodetect --enable-avcodec --enable-avformat --enable-swscale \
./configure --enable-pic --enable-lto --disable-static --enable-shared --disable-all --disable-autodetect \
--enable-avcodec --enable-avformat --enable-swscale \
--enable-decoder=h264 --enable-decoder=hevc --enable-decoder=av1 \
--enable-vaapi --enable-hwaccel=h264_vaapi --enable-hwaccel=hevc_vaapi --enable-hwaccel=av1_vaapi \
--enable-vdpau --enable-hwaccel=h264_vdpau --enable-hwaccel=hevc_vdpau --enable-hwaccel=av1_vdpau \
+1 -1
View File
@@ -4,7 +4,7 @@ $Organization = "moonlight-stream"
$PrebuiltRepo = "moonlight-qt-deps"
$TargetDir = Join-Path $PSScriptRoot "libs\windows"
$Assets = @("windows-x64.zip", "windows-ARM64.zip")
$Tag = "v4.0.1"
$Tag = "v4.1"
if (Test-Path $TargetDir) {
Write-Host "Cleaning target directory..." -ForegroundColor Cyan
+1 -1
View File
@@ -7,7 +7,7 @@ import shutil
ORGANIZATION = "moonlight-stream"
PREBUILT_REPO = "moonlight-qt-deps"
TAG = "v4.0.1"
TAG = "v4.1"
def get_platform_config():
system = platform.system()