Add MMAL renderer for Raspberry Pi

This commit is contained in:
Cameron Gutman
2019-04-16 01:20:21 -07:00
parent 773b1af6f1
commit 9c76700f74
4 changed files with 203 additions and 0 deletions
+12
View File
@@ -94,6 +94,11 @@ unix:!macx {
packagesExist(vdpau) {
CONFIG += libvdpau
}
packagesExist(mmal) {
PKGCONFIG += mmal
CONFIG += mmal
}
}
}
win32 {
@@ -213,6 +218,13 @@ libvdpau {
SOURCES += streaming/video/ffmpeg-renderers/vdpau.cpp
HEADERS += streaming/video/ffmpeg-renderers/vdpau.h
}
mmal {
message(MMAL renderer selected)
DEFINES += HAVE_MMAL
SOURCES += streaming/video/ffmpeg-renderers/mmal.cpp
HEADERS += streaming/video/ffmpeg-renderers/mmal.h
}
config_SL {
message(Steam Link build configuration selected)