Implement VideoToolbox rendering

This commit is contained in:
Cameron Gutman
2018-07-15 18:11:57 -07:00
parent 3a4da50bbb
commit a6ac893e1e
5 changed files with 207 additions and 104 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ win32 {
}
macx {
LIBS += -lssl -lcrypto -lSDL2 -lavcodec.58 -lavdevice.58 -lavformat.58 -lavutil.56
LIBS += -framework VideoToolbox
LIBS += -lobjc -framework VideoToolbox -framework AVFoundation -framework CoreGraphics -framework CoreMedia -framework AppKit
}
SOURCES += \
@@ -64,7 +64,7 @@ win32 {
SOURCES += streaming/renderers/dxva2.cpp
}
macx {
SOURCES += streaming/renderers/vt.cpp
SOURCES += streaming/renderers/vt.mm
}
HEADERS += \