1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Changed VA device in MediaSDK session initialization

This commit is contained in:
Maksim Shabunin
2017-12-28 13:43:35 +03:00
parent 3542c98d45
commit f0b606ff77
+1 -1
View 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);