Skip to content
Snippets Groups Projects
Commit 87f66dcd authored by Pierre Lespagnol's avatar Pierre Lespagnol Committed by Adrien Béraud
Browse files

accel: fix crash during qsv initialization

Change-Id: I568c0df19aa4bb6f88bb014b3b7d3c6f2d33261b
parent 2df2f02d
No related branches found
No related tags found
No related merge requests found
...@@ -141,6 +141,9 @@ HardwareAccel::test_device_type(std::string& dev) ...@@ -141,6 +141,9 @@ HardwareAccel::test_device_type(std::string& dev)
} }
JAMI_WARN("-- Starting %s test for %s with default device.", (type_ == CODEC_ENCODER) ? "encoding" : "decoding", name); JAMI_WARN("-- Starting %s test for %s with default device.", (type_ == CODEC_ENCODER) ? "encoding" : "decoding", name);
if (name_ == "qsv")
err = test_device(name, "auto", 0);
else
err = test_device(name, nullptr, 0); err = test_device(name, nullptr, 0);
if (err == 0) { if (err == 0) {
JAMI_DBG("-- Test passed for %s with default device.", name); JAMI_DBG("-- Test passed for %s with default device.", name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment