Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
be80ed7f
Commit
be80ed7f
authored
Aug 12, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VAAPI-X11: link to xcb library
Fixup:
2c233f96
parent
2c233f96
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
5 deletions
+19
-5
configure.ac
configure.ac
+8
-0
modules/codec/avcodec/Modules.am
modules/codec/avcodec/Modules.am
+9
-3
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+1
-1
modules/codec/avcodec/vaapi_x11.c
modules/codec/avcodec/vaapi_x11.c
+1
-1
No files found.
configure.ac
View file @
be80ed7f
...
...
@@ -3180,6 +3180,14 @@ AS_IF([test "${enable_xcb}" != "no"], [
], [
AC_MSG_WARN([libxcb-keysyms (0.3.4 or later) not found. Hotkeys will not work.])
])
dnl avcodec (vaapi-x11)
AS_IF([test "${enable_libva}" != "no"], [
AS_IF([test "${have_avcodec}" != "no"], [
VLC_ADD_CFLAGS([avcodec], [${XCB_CFLAGS}])
VLC_ADD_LIBS([avcodec], [${XCB_LIBS}])
])
])
])
AM_CONDITIONAL([HAVE_XCB], [test "${have_xcb}" = "yes"])
...
...
modules/codec/avcodec/Modules.am
View file @
be80ed7f
...
...
@@ -11,15 +11,21 @@ libavcodec_plugin_la_SOURCES = \
chroma.c \
vaapi.h \
vaapi.c \
vaapi_x11.c \
dxva2.c \
copy.c \
copy.h \
va.c \
va.h \
../../video_output/xcb/events.c \
../../video_output/xcb/xcb_events_vlc.h \
$(NULL)
if HAVE_XCB
libavcodec_plugin_la_SOURCES += \
vaapi_x11.c \
../../video_output/xcb/events.c \
../../video_output/xcb/xcb_events_vlc.h \
$(NULL)
endif
if ENABLE_SOUT
libavcodec_plugin_la_SOURCES += \
encoder.c
...
...
modules/codec/avcodec/avcodec.c
View file @
be80ed7f
...
...
@@ -212,7 +212,7 @@ vlc_module_begin ()
AVIO_MODULE
#endif
#if defined(HAVE_AVCODEC_VAAPI)
#if defined(HAVE_AVCODEC_VAAPI)
&& defined(HAVE_XCB)
/* vaapi_x11 submodule */
add_submodule
()
set_description
(
N_
(
"VAAPI X11 video output"
))
...
...
modules/codec/avcodec/vaapi_x11.c
View file @
be80ed7f
...
...
@@ -38,7 +38,7 @@
#include <vlc_arrays.h>
#if
def HAVE_AVCODEC_VAAPI
#if
defined(HAVE_AVCODEC_VAAPI) && defined(HAVE_XCB)
#ifdef HAVE_LIBAVCODEC_AVCODEC_H
# include <libavcodec/avcodec.h>
...
...
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