Implement VAAPI rendering for X11
This commit is contained in:
parent
64a839c2f9
commit
399154f5f5
5 changed files with 202 additions and 2 deletions
|
|
@ -35,6 +35,7 @@ macx {
|
|||
unix:!macx {
|
||||
CONFIG += link_pkgconfig
|
||||
PKGCONFIG += openssl sdl2 libavcodec libavdevice libavformat libavutil
|
||||
LIBS += -ldl
|
||||
}
|
||||
win32 {
|
||||
LIBS += -llibssl -llibcrypto -lSDL2 -lavcodec -lavdevice -lavformat -lavutil
|
||||
|
|
@ -66,6 +67,9 @@ win32 {
|
|||
macx {
|
||||
SOURCES += streaming/video/ffmpeg-renderers/vt.mm
|
||||
}
|
||||
unix {
|
||||
SOURCES += streaming/video/ffmpeg-renderers/vaapi.cpp
|
||||
}
|
||||
|
||||
HEADERS += \
|
||||
utils.h \
|
||||
|
|
@ -89,6 +93,9 @@ win32 {
|
|||
macx {
|
||||
HEADERS += streaming/video/ffmpeg-renderers/vt.h
|
||||
}
|
||||
unix {
|
||||
HEADERS += streaming/video/ffmpeg-renderers/vaapi.h
|
||||
}
|
||||
|
||||
RESOURCES += \
|
||||
resources.qrc \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue