Changed VA device in MediaSDK session initialization
authorMaksim Shabunin <maksim.shabunin@gmail.com>
Thu, 28 Dec 2017 10:43:35 +0000 (13:43 +0300)
committerMaksim Shabunin <maksim.shabunin@gmail.com>
Thu, 28 Dec 2017 11:10:36 +0000 (14:10 +0300)
modules/videoio/src/cap_mfx_common.cpp

index bc790a0..9c02d6d 100644 (file)
@@ -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);