Commit f0b606ff authored by Maksim Shabunin's avatar Maksim Shabunin

Changed VA device in MediaSDK session initialization

parent 3542c98d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment