Create new utility function for scaling with aspect ratio and use it for DXVA2

This commit is contained in:
Cameron Gutman 2018-08-04 22:22:15 -07:00
commit 5cbb38091b
4 changed files with 49 additions and 18 deletions

View file

@ -81,7 +81,8 @@ SOURCES += \
streaming/session.cpp \
streaming/audio.cpp \
gui/computermodel.cpp \
gui/appmodel.cpp
gui/appmodel.cpp \
streaming/streamutils.cpp
HEADERS += \
utils.h \
@ -95,7 +96,8 @@ HEADERS += \
streaming/session.hpp \
gui/computermodel.h \
gui/appmodel.h \
streaming/video/decoder.h
streaming/video/decoder.h \
streaming/streamutils.h
# Platform-specific renderers and decoders
ffmpeg {