From f0b606ff77301684b375116be1a50b75bf44cdf7 Mon Sep 17 00:00:00 2001 From: Maksim Shabunin Date: Thu, 28 Dec 2017 13:43:35 +0300 Subject: [PATCH] Changed VA device in MediaSDK session initialization --- modules/videoio/src/cap_mfx_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/src/cap_mfx_common.cpp b/modules/videoio/src/cap_mfx_common.cpp index bc790a0e55..9c02d6d7bf 100644 --- a/modules/videoio/src/cap_mfx_common.cpp +++ b/modules/videoio/src/cap_mfx_common.cpp @@ -41,7 +41,7 @@ bool DeviceHandler::init(MFXVideoSession &session) VAHandle::VAHandle() { // TODO: provide a way of modifying this path - const string filename = "/dev/dri/card0"; + const string filename = "/dev/dri/renderD128"; file = open(filename.c_str(), O_RDWR); if (file < 0) CV_Error(Error::StsError, "Can't open file: " + filename);