Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
a0e6d8c2
Commit
a0e6d8c2
authored
Jan 13, 2014
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x265: use pkg-config for detection
parent
6768c9cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
22 deletions
+1
-22
configure.ac
configure.ac
+1
-22
No files found.
configure.ac
View file @
a0e6d8c2
...
@@ -2750,28 +2750,7 @@ AC_ARG_WITH(x262-tree,
...
@@ -2750,28 +2750,7 @@ AC_ARG_WITH(x262-tree,
fi
fi
dnl x265 encoder
dnl x265 encoder
AC_ARG_ENABLE(x265,
PKG_ENABLE_MODULES_VLC([X265],, [x265], [HEVC/H.265 encoder], [auto])
AS_HELP_STRING([--enable-x265],[H265 / HEVC encoding support with libx265 (default enabled)]))
AS_IF( [test "${enable_x265}" != "no"],[
AC_PREPROC_IFELSE([AC_LANG_SOURCE([
#include <x265.h>
#if X265_BUILD != 4
# error Fail
#endif
])], [
AC_CHECK_LIB([x265],[x265_encoder_open_4], [
VLC_ADD_PLUGIN([x265])
VLC_ADD_LIBS([x265], [-lx265 -lstdc++ -lm -lpthread])
], [
AC_MSG_ERROR([x265 library not found])
], [-lstdc++ -lm -lpthread])
], [
AS_IF([test "${enable_x265}" = "yes"], [
AC_MSG_ERROR([x265.h not found])
])
])
])
dnl
dnl
dnl H264 encoder plugin (10-bit lib264)
dnl H264 encoder plugin (10-bit lib264)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment