summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authormaxd <[email protected]>2017-03-22 11:22:52 +0100
committerScott <[email protected]>2017-04-04 19:47:21 +0100
commitc584f661f0e9aef5c0099af56ede9b029696a487 (patch)
treeb68e5de7a024f7a2720a9f468014cb39def1c6e0 /contrib
parent422073980d281638a57f91a2b8e3eac6d895fdda (diff)
qsv: fix for latest MSS support
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libmfx/A00-linux-path-fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/libmfx/A00-linux-path-fix.patch b/contrib/libmfx/A00-linux-path-fix.patch
new file mode 100644
index 000000000..544cfbad6
--- /dev/null
+++ b/contrib/libmfx/A00-linux-path-fix.patch
@@ -0,0 +1,14 @@
+diff --git a/src/mfx_library_iterator_linux.cpp b/src/mfx_library_iterator_linux.cpp
+index 46ad511..e2269f3 100644
+--- a/src/mfx_library_iterator_linux.cpp
++++ b/src/mfx_library_iterator_linux.cpp
+@@ -332,8 +332,7 @@ mfxStatus MFXLibraryIterator::Init(eMfxImplType implType, mfxIMPL impl, const mf
+ // set the required library's implementation type
+ m_implType = implType;
+
+- snprintf(m_path, sizeof(m_path)/sizeof(m_path[0]),
+- "%s/%s/%04x/%04x", mfx_storage_opt, mfx_folder, m_vendorID, m_deviceID);
++ snprintf(m_path, sizeof(m_path)/sizeof(m_path[0]),"%s/%s", mfx_storage_opt, mfx_folder);
+
+ m_libs_num = mfx_list_libraries(m_path, (MFX_LIB_HARDWARE == implType), &m_libs);
+