Changed VA device in MediaSDK session initialization

pull/10452/head
Maksim Shabunin 7 years ago
parent 3542c98d45
commit f0b606ff77
  1. 2
      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);

Loading…
Cancel
Save