DirectShow: use the EVR in the window control.
Reuse existing code from the WMF plugin, which already uses the EVR. This enables HW-accelerated video decoding when using QMediaPlayer with a QVideoWidget. Task-number: QTBUG-45593 Change-Id: I757e4d53cd2c648aee6ba33a4851a8c6adc62843 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
This commit is contained in:
8
src/plugins/common/evr.pri
Normal file
8
src/plugins/common/evr.pri
Normal file
@@ -0,0 +1,8 @@
|
||||
INCLUDEPATH += $$PWD/evr
|
||||
|
||||
qtHaveModule(widgets): QT += widgets
|
||||
|
||||
HEADERS += $$PWD/evr/evrvideowindowcontrol.h \
|
||||
$$PWD/evr/evrdefs.h
|
||||
|
||||
SOURCES += $$PWD/evr/evrvideowindowcontrol.cpp
|
||||
Reference in New Issue
Block a user