mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-29 11:01:23 +00:00
cmake: Enable FFmpeg Encoders on Linux
This commit is contained in:
parent
c20ac4a413
commit
4947ae9a13
3 changed files with 16 additions and 2 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -127,7 +127,8 @@ jobs:
|
|||
cmake \
|
||||
ninja-build \
|
||||
git \
|
||||
qt5-default libqwt-qt5-dev libqt5svg5-dev
|
||||
qt5-default libqwt-qt5-dev libqt5svg5-dev \
|
||||
libavcodec-dev libavutil-dev libswscale-dev
|
||||
${{ matrix.extra_command }}
|
||||
- name: "Cache: Prerequisites"
|
||||
uses: actions/cache@v2
|
||||
|
|
2
.github/workflows/validate.yml
vendored
2
.github/workflows/validate.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
|||
git submodule update --init --recursive
|
||||
sudo apt-get -qq update
|
||||
sudo apt-get purge libjpeg9-dev:amd64 libjpeg8-dev:amd64 libjpeg-turbo8-dev:amd64
|
||||
sudo apt-get install build-essential clang clang-format checkinstall pkg-config cmake ninja-build git qt5-default libqwt-qt5-dev libqt5svg5-dev
|
||||
sudo apt-get install build-essential clang clang-format checkinstall pkg-config cmake ninja-build git qt5-default libqwt-qt5-dev libqt5svg5-dev libavcodec-dev libavutil-dev libswscale-dev
|
||||
- name: "Cache: Prerequisites"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
|
|
@ -217,6 +217,19 @@ if(WIN32)
|
|||
set(ENABLE_SOURCE_MIRROR TRUE)
|
||||
set(ENABLE_SOURCE_SHADER TRUE)
|
||||
set(ENABLE_TRANSITION_SHADER TRUE)
|
||||
elseif(NOT APPLE)
|
||||
set(ENABLE_ENCODER_FFMPEG TRUE)
|
||||
set(ENABLE_FILTER_BLUR TRUE)
|
||||
set(ENABLE_FILTER_COLOR_GRADE TRUE)
|
||||
set(ENABLE_FILTER_DISPLACEMENT TRUE)
|
||||
set(ENABLE_FILTER_DYNAMIC_MASK TRUE)
|
||||
set(ENABLE_FILTER_NVIDIA_FACE_TRACKING FALSE)
|
||||
set(ENABLE_FILTER_SDF_EFFECTS TRUE)
|
||||
set(ENABLE_FILTER_SHADER TRUE)
|
||||
set(ENABLE_FILTER_TRANSFORM TRUE)
|
||||
set(ENABLE_SOURCE_MIRROR TRUE)
|
||||
set(ENABLE_SOURCE_SHADER TRUE)
|
||||
set(ENABLE_TRANSITION_SHADER TRUE)
|
||||
else()
|
||||
set(ENABLE_ENCODER_FFMPEG FALSE)
|
||||
set(ENABLE_FILTER_BLUR TRUE)
|
||||
|
|
Loading…
Reference in a new issue