summaryrefslogtreecommitdiffstats
path: root/src/plugins/directshow/player/directshowevrvideowindowcontrol.cpp
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@theqtcompany.com>2015-11-05 13:48:40 +0100
committerYoann Lopes <yoann.lopes@theqtcompany.com>2016-01-12 15:51:24 +0000
commit36549dbe148055d6ecf98952b05b4ff2310fe491 (patch)
treed7aa21a5efc2b9c80125e9ed4598188a0a11dec5 /src/plugins/directshow/player/directshowevrvideowindowcontrol.cpp
parent963a534e339c4515f0e1abf85c6e91ec3de145de (diff)
DirectShow: use the EVR in the renderer control.
As for the window control, the existing code from the WMF plugin has been refactored out and is now shared for both plugins. This enables HW-accelerated video decoding in QML, QGraphicsVideoItem and custom QAbstractVideoSurfaces (Angle is required). Task-number: QTBUG-45593 Change-Id: I1d4dbf5695cdd4dbee93f9f4a957fa4d813aa85d Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'src/plugins/directshow/player/directshowevrvideowindowcontrol.cpp')
-rw-r--r--src/plugins/directshow/player/directshowevrvideowindowcontrol.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/directshow/player/directshowevrvideowindowcontrol.cpp b/src/plugins/directshow/player/directshowevrvideowindowcontrol.cpp
index 7bffe47d..22771bd4 100644
--- a/src/plugins/directshow/player/directshowevrvideowindowcontrol.cpp
+++ b/src/plugins/directshow/player/directshowevrvideowindowcontrol.cpp
@@ -49,10 +49,8 @@ DirectShowEvrVideoWindowControl::~DirectShowEvrVideoWindowControl()
IBaseFilter *DirectShowEvrVideoWindowControl::filter()
{
- static const GUID clsid_EnhancendVideoRenderer = { 0xfa10746c, 0x9b63, 0x4b6c, {0xbc, 0x49, 0xfc, 0x30, 0xe, 0xa5, 0xf2, 0x56} };
-
if (!m_evrFilter) {
- m_evrFilter = com_new<IBaseFilter>(clsid_EnhancendVideoRenderer);
+ m_evrFilter = com_new<IBaseFilter>(clsid_EnhancedVideoRenderer);
if (!setEvr(m_evrFilter)) {
m_evrFilter->Release();
m_evrFilter = NULL;