Skip to content

Commit

Permalink
Fixed libx264 build in FFmpeg.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Mar 7, 2024
1 parent 745da58 commit 8a16bb6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions etc/SuperBuild/cmake/Modules/BuildFFmpeg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ else()
--enable-decoder=flac
--enable-decoder=h264
--enable-decoder=hevc
--enable-decoder=libdav1d
--enable-decoder=libvpx_vp8
--enable-decoder=libvpx_vp9
--enable-decoder=mjpeg
--enable-decoder=mp3
--enable-decoder=mpeg2video
Expand Down Expand Up @@ -190,9 +187,6 @@ else()
--enable-encoder=cfhd
--enable-encoder=dnxhd
--enable-encoder=eac3
--enable-encoder=libsvtav1
--enable-encoder=libvpx_vp8
--enable-encoder=libvpx_vp9
--enable-encoder=mjpeg
--enable-encoder=mpeg2video
--enable-encoder=mpeg4
Expand Down Expand Up @@ -370,15 +364,23 @@ else()

if(TLRENDER_VPX)
list(APPEND FFmpeg_CONFIGURE_ARGS
--enable-decoder=libvpx_vp8
--enable-decoder=libvpx_vp9
--enable-encoder=libvpx_vp8
--enable-encoder=libvpx_vp9
--enable-libvpx)
endif()
if(TLRENDER_AV1)
list(APPEND FFmpeg_CONFIGURE_ARGS
--enable-encoder=libsvtav1
--enable-decoder=libdav1d
--enable-libdav1d
--enable-libsvtav1)
endif()
if(TLRENDER_X264)
list(APPEND FFmpeg_CONFIGURE_ARGS
--enable-encoder=libx264
--enable-decoder=libx264
--enable-libx264 --enable-gpl)
if(TLRENDER_NET)
list(APPEND FFmpeg_CONFIGURE_ARGS
Expand Down

0 comments on commit 8a16bb6

Please sign in to comment.