mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +08:00
Changed VA device in MediaSDK session initialization
This commit is contained in:
parent
3542c98d45
commit
f0b606ff77
@ -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…
Reference in New Issue
Block a user