Browse Source

coreaudio-encoder: Fix path on windows

The path of coreaudio dll has changed in current versions of iTunes on
windows.  The patch fixes the issue while keeping compatibility with
previous path.

Fixes obsproject/obs-studio#3503
pkv 5 years ago
parent
commit
11602bc933
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/coreaudio-encoder/windows-imports.h

+ 1 - 0
plugins/coreaudio-encoder/windows-imports.h

@@ -404,6 +404,7 @@ static bool load_lib(void)
 	path_list_t path_list[] = {
 		{FOLDERID_ProgramFilesCommon,
 		 L"Apple\\Apple Application Support"},
+		{FOLDERID_ProgramFiles, L"iTunes"},
 	};
 
 	for (auto &val : path_list) {