Commit d9c02314 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #10452 from mshabunin:mediasdk-device

parents 3542c98d f0b606ff
......@@ -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