Skip to content

Commit

Permalink
Reverting GitHub Windows builder to use ffmpeg (instead of ffmpeg 4.4…
Browse files Browse the repository at this point in the history
…), and removing version logic around swresample/avresample logic - since GitHub versions are completely different than expected (for example: avformat version: 3.100 vs avformat version: 58.45.100)
  • Loading branch information
jonoomph committed Mar 10, 2023
1 parent 1c832dc commit ec1bd01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
mingw-w64-x86_64-qt5-winextras
mingw-w64-x86_64-qt5-tools
mingw-w64-x86_64-libvpx
mingw-w64-x86_64-ffmpeg4.4
mingw-w64-x86_64-ffmpeg
mingw-w64-x86_64-zeromq
mingw-w64-x86_64-opencv
mingw-w64-x86_64-protobuf
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ set(all_comps avcodec avformat avutil swscale)
set(version_comps avcodec avformat avutil)

# Pick a resampler. Prefer swresample if possible
if(TARGET FFmpeg::swresample AND ${FFmpeg_avformat_VERSION} VERSION_GREATER "57.0.0")
if(TARGET FFmpeg::swresample)
set(resample_lib swresample)
set(USE_SW TRUE)
else()
Expand Down

0 comments on commit ec1bd01

Please sign in to comment.