Skip to content

Commit

Permalink
fix H265 detection turning off toxav
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Mar 16, 2024
1 parent 4379d55 commit 086fadd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,7 @@ if(BUILD_TOXAV)
set(BUILD_TOXAV OFF)
endif()
if(NOT X265_FOUND)
message(${NO_TOXAV_ERROR_TYPE} "Option BUILD_TOXAV is enabled but required library X265 was not found.")
set(BUILD_TOXAV OFF)
message(${NO_TOXAV_ERROR_TYPE} "Option BUILD_TOXAV is enabled but H265 encoder support will be disabled.")
set(BUILD_H265 OFF)
endif()
if(NOT LIBAVCODEC_FOUND)
Expand Down
3 changes: 1 addition & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,7 @@ if test "x$BUILD_AV" = "xyes"; then
PKG_CHECK_MODULES([X265], [x265],
[],
[
AC_MSG_WARN([disabling AV support $X265_PKG_ERRORS])
BUILD_AV="no"
AC_MSG_WARN([disabling AV support for H265 encoding $X265_PKG_ERRORS])
BUILD_H265="no"
]
)
Expand Down

0 comments on commit 086fadd

Please sign in to comment.