mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-26 05:50:49 +00:00
Enable LTO for FFmpeg
This commit is contained in:
1 parent
dc6c0d3315
commit
a2ef7a4a0c
3 files changed
+4
-3
No files matched your search
@@ -134,7 +134,8 @@ jobs:
|
|||||||
- name: Build FFmpeg
|
- name: Build FFmpeg
|
||||||
working-directory: deps/FFmpeg
|
working-directory: deps/FFmpeg
|
||||||
run: |
|
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-decoder=h264 --enable-decoder=hevc --enable-decoder=av1 \
|
||||||
--enable-vaapi --enable-hwaccel=h264_vaapi --enable-hwaccel=hevc_vaapi --enable-hwaccel=av1_vaapi \
|
--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 \
|
--enable-vdpau --enable-hwaccel=h264_vdpau --enable-hwaccel=hevc_vdpau --enable-hwaccel=av1_vdpau \
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ $Organization = "moonlight-stream"
|
|||||||
$PrebuiltRepo = "moonlight-qt-deps"
|
$PrebuiltRepo = "moonlight-qt-deps"
|
||||||
$TargetDir = Join-Path $PSScriptRoot "libs\windows"
|
$TargetDir = Join-Path $PSScriptRoot "libs\windows"
|
||||||
$Assets = @("windows-x64.zip", "windows-ARM64.zip")
|
$Assets = @("windows-x64.zip", "windows-ARM64.zip")
|
||||||
$Tag = "v4.0.1"
|
$Tag = "v4.1"
|
||||||
|
|
||||||
if (Test-Path $TargetDir) {
|
if (Test-Path $TargetDir) {
|
||||||
Write-Host "Cleaning target directory..." -ForegroundColor Cyan
|
Write-Host "Cleaning target directory..." -ForegroundColor Cyan
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ import shutil
|
|||||||
|
|
||||||
ORGANIZATION = "moonlight-stream"
|
ORGANIZATION = "moonlight-stream"
|
||||||
PREBUILT_REPO = "moonlight-qt-deps"
|
PREBUILT_REPO = "moonlight-qt-deps"
|
||||||
TAG = "v4.0.1"
|
TAG = "v4.1"
|
||||||
|
|
||||||
def get_platform_config():
|
def get_platform_config():
|
||||||
system = platform.system()
|
system = platform.system()
|
||||||
|
|||||||
Reference in new issue
Block a user