Add VDPAU renderer
This commit is contained in:
parent
2853e498b0
commit
fca402138f
8 changed files with 384 additions and 6 deletions
11
app/app.pro
11
app/app.pro
|
|
@ -53,6 +53,10 @@ unix:!macx {
|
|||
packagesExist(libva) {
|
||||
CONFIG += libva
|
||||
}
|
||||
|
||||
packagesExist(vdpau) {
|
||||
CONFIG += libvdpau
|
||||
}
|
||||
}
|
||||
}
|
||||
win32 {
|
||||
|
|
@ -112,6 +116,13 @@ libva {
|
|||
SOURCES += streaming/video/ffmpeg-renderers/vaapi.cpp
|
||||
HEADERS += streaming/video/ffmpeg-renderers/vaapi.h
|
||||
}
|
||||
libvdpau {
|
||||
message(VDPAU renderer selected)
|
||||
|
||||
DEFINES += HAVE_LIBVDPAU
|
||||
SOURCES += streaming/video/ffmpeg-renderers/vdpau.cpp
|
||||
HEADERS += streaming/video/ffmpeg-renderers/vdpau.h
|
||||
}
|
||||
config_SLVideo {
|
||||
message(SLVideo decoder/renderer selected)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue