From: maxd Date: Wed, 22 Mar 2017 10:22:52 +0000 (+0100) Subject: qsv: fix for latest MSS support X-Git-Tag: 1.1.0~612 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c584f661f0e9aef5c0099af56ede9b029696a487;p=handbrake qsv: fix for latest MSS support --- 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); +