Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d1e7a6e5
Commit
d1e7a6e5
authored
Jan 20, 2010
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix libavcodec/vaapi.h detection.
parent
3a9b3839
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
configure.ac
configure.ac
+4
-0
No files found.
configure.ac
View file @
d1e7a6e5
...
@@ -2851,6 +2851,9 @@ AS_IF([test "${enable_libva}" != "no"], [
...
@@ -2851,6 +2851,9 @@ AS_IF([test "${enable_libva}" != "no"], [
AS_IF([test "x${have_avcodec}" = "xyes"], [
AS_IF([test "x${have_avcodec}" = "xyes"], [
PKG_CHECK_MODULES(LIBVA, [libva libva-x11],
PKG_CHECK_MODULES(LIBVA, [libva libva-x11],
[
[
VLC_SAVE_FLAGS
CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}"
AC_CHECK_HEADERS(libavcodec/vaapi.h, [
AC_CHECK_HEADERS(libavcodec/vaapi.h, [
VLC_ADD_LIBS([avcodec],[$LIBVA_LIBS])
VLC_ADD_LIBS([avcodec],[$LIBVA_LIBS])
VLC_ADD_CFLAGS([avcodec],[$LIBVA_CFLAGS])
VLC_ADD_CFLAGS([avcodec],[$LIBVA_CFLAGS])
...
@@ -2861,6 +2864,7 @@ AS_IF([test "${enable_libva}" != "no"], [
...
@@ -2861,6 +2864,7 @@ AS_IF([test "${enable_libva}" != "no"], [
[AC_MSG_ERROR([libva is present but libavcodec/vaapi.h is missing])],
[AC_MSG_ERROR([libva is present but libavcodec/vaapi.h is missing])],
[AC_MSG_WARN([libva is present but libavcodec/vaapi.h is missing ])])
[AC_MSG_WARN([libva is present but libavcodec/vaapi.h is missing ])])
])
])
VLC_RESTORE_FLAGS
],[
],[
AS_IF([test "${enable_libva}" == "yes"],
AS_IF([test "${enable_libva}" == "yes"],
[AC_MSG_ERROR([Could not find required libva.])],
[AC_MSG_ERROR([Could not find required libva.])],
...
...
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