Created
March 9, 2015 21:37
-
-
Save anonymous/97cae49d86809c1bfd33 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/source_code/DibHelper.cpp b/source_code/DibHelper.cpp | |
index 4bfbd94..c8a02fe 100644 | |
--- a/source_code/DibHelper.cpp | |
+++ b/source_code/DibHelper.cpp | |
@@ -165,7 +165,7 @@ boolean is_config_set_to_1(LPCTSTR szValueName) { | |
HKEY hKey; | |
LONG i; | |
i = RegOpenKeyEx(HKEY_CURRENT_USER, | |
- L"SOFTWARE\\screen-capture-recorder", 0, KEY_READ, &hKey); | |
+ L"SOFTWARE\\evp-capture", 0, KEY_READ, &hKey); | |
if ( i != ERROR_SUCCESS) | |
{ | |
@@ -204,7 +204,7 @@ HRESULT set_config_string_setting(LPCTSTR szValueName, wchar_t *szToThis ) { | |
LPDWORD lpdwDisp = &dwDisp; | |
i = RegCreateKeyEx(HKEY_CURRENT_USER, | |
- L"SOFTWARE\\screen-capture-recorder", 0L, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS | KEY_WOW64_32KEY, NULL, &hKey, lpdwDisp); // fails in flash player... | |
+ L"SOFTWARE\\evp-capture", 0L, NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS | KEY_WOW64_32KEY, NULL, &hKey, lpdwDisp); // fails in flash player... | |
if (i == ERROR_SUCCESS) | |
{ | |
diff --git a/source_code/PushGuids.h b/source_code/PushGuids.h | |
index 4659ea7..e9d9b92 100644 | |
--- a/source_code/PushGuids.h | |
+++ b/source_code/PushGuids.h | |
@@ -25,12 +25,12 @@ DEFINE_GUID(CLSID_PushSourceBitmapSet, | |
#ifdef _WIN64 | |
DEFINE_GUID(CLSID_PushSourceDesktop, | |
-0x4ea69364, 0x2c8a, 0x4ae6, 0xa5, 0x61, 0x56, 0xe4, 0xb5, 0x4, 0x44, 0x39); | |
+0x093d3da3, 0x2c8a, 0x4ae6, 0xa5, 0x61, 0x56, 0xe4, 0xb5, 0x4, 0x44, 0x39); | |
#else | |
// {4EA6930A-2C8A-4ae6-A561-56E4B5044439} my own, I hope... | |
DEFINE_GUID(CLSID_PushSourceDesktop, | |
-0x4ea6930a, 0x2c8a, 0x4ae6, 0xa5, 0x61, 0x56, 0xe4, 0xb5, 0x4, 0x44, 0x39); | |
+0x093d3da1, 0x2c8a, 0x4ae6, 0xa5, 0x61, 0x56, 0xe4, 0xb5, 0x4, 0x44, 0x39); | |
#endif | |
#endif | |
diff --git a/source_code/setup.cpp b/source_code/setup.cpp | |
index ab5cb30..4d932e4 100644 | |
--- a/source_code/setup.cpp | |
+++ b/source_code/setup.cpp | |
@@ -106,7 +106,7 @@ STDAPI RegisterFilters( BOOL bRegister ) | |
hr = CoInitialize(0); | |
if(bRegister) | |
{ | |
- hr = AMovieSetupRegisterServer(CLSID_PushSourceDesktop, L"screen-capture-recorder", achFileName, L"Both", L"InprocServer32"); | |
+ hr = AMovieSetupRegisterServer(CLSID_PushSourceDesktop, L"evp-capture", achFileName, L"Both", L"InprocServer32"); | |
} | |
if( SUCCEEDED(hr) ) | |
@@ -124,7 +124,7 @@ STDAPI RegisterFilters( BOOL bRegister ) | |
rf2.cPins = 1; | |
rf2.rgPins = &sudOutputPinDesktop; | |
// this is the name that actually shows up in VLC et al. weird | |
- hr = fm->RegisterFilter(CLSID_PushSourceDesktop, L"screen-capture-recorder", &pMoniker, &CLSID_VideoInputDeviceCategory, NULL, &rf2); | |
+ hr = fm->RegisterFilter(CLSID_PushSourceDesktop, L"evp-capture", &pMoniker, &CLSID_VideoInputDeviceCategory, NULL, &rf2); | |
} | |
else | |
{ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment