Hi,

the Media Types (and Media Type Extensions) use "Source Filter" instead of 
"File Source" in the registry. 
There were also some small typos. I will continue with changes to regsvr.c. My 
first goal is to have the native 
quartz running with the builtin registration !

Changelog:
- Media Types (and Extensions) should use "Source Filter" instead of "File 
Source"
- Removed filesource_valuename
- Fixed typo for some class-names
- Fixed typo in MPEG1System Media Type 

Cheers,

Paul Vriens.
Index: dlls/quartz/regsvr.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/regsvr.c,v
retrieving revision 1.12
diff -u -r1.12 regsvr.c
--- dlls/quartz/regsvr.c	3 Jan 2005 17:05:47 -0000	1.12
+++ dlls/quartz/regsvr.c	5 Jan 2005 18:54:21 -0000
@@ -128,8 +128,8 @@
     'M', 'e', 'd', 'i', 'a', ' ', 'T', 'y', 'p', 'e', 0 };
 static WCHAR const subtype_valuename[8] = {
     'S', 'u', 'b', 't', 'y', 'p', 'e', 0 };
-static WCHAR const filesource_valuename[12] = {
-    'F', 'i', 'l', 'e', ' ', 'S', 'o', 'u', 'r', 'c', 'e', 0 };
+static WCHAR const sourcefilter_valuename[14] = {
+    'S', 'o', 'u', 'r', 'c', 'e', ' ', 'F', 'i', 'l', 't', 'e', 'r', 0 };
 static WCHAR const extensions_keyname[11] = {
     'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', 0 };
 
@@ -391,7 +391,7 @@
 	if (res != ERROR_SUCCESS) goto error_close_keys;
 
 	StringFromGUID2(&CLSID_AsyncReader, buf, 39);
-	res = RegSetValueExW(subtype_key, filesource_valuename, 0, REG_SZ, (CONST BYTE*)buf,
+	res = RegSetValueExW(subtype_key, sourcefilter_valuename, 0, REG_SZ, (CONST BYTE*)buf,
 			     (lstrlenW(buf) + 1) * sizeof(WCHAR));
 	if (res != ERROR_SUCCESS) goto error_close_keys;
 
@@ -451,7 +451,7 @@
 	if (res != ERROR_SUCCESS) goto error_close_key;
 
 	StringFromGUID2(&CLSID_AsyncReader, buf, 39);
-	res = RegSetValueExW(extension_key, filesource_valuename, 0, REG_SZ, (CONST BYTE*)buf,
+	res = RegSetValueExW(extension_key, sourcefilter_valuename, 0, REG_SZ, (CONST BYTE*)buf,
 			     (lstrlenW(buf) + 1) * sizeof(WCHAR));
 	if (res != ERROR_SUCCESS) goto error_close_key;
 
@@ -721,7 +721,7 @@
 	"Both"
     },
     {   &CLSID_FilterMapper2,
-	"Filter Mapper 2",
+	"Filter Mapper2",
 	NULL,
 	"quartz.dll",
 	"Both"
@@ -757,7 +757,7 @@
 	"Both"
     },
     {   &CLSID_DSoundRender,
-	"Direct Sound Audio Renderer",
+	"DirectSound Audio Renderer",
 	NULL,
 	"quartz.dll",
 	"Both"
@@ -791,7 +791,7 @@
     },
     {	&MEDIATYPE_Stream,
 	&MEDIASUBTYPE_MPEG1System,
-	{   "0, 16, FFFFFFFFF100010001800001FFFFFFFF, 000001BA2100010001800001000001BBA",
+	{   "0, 16, FFFFFFFFF100010001800001FFFFFFFF, 000001BA2100010001800001000001BB",
 	    NULL }
     },
     {	&MEDIATYPE_Stream,

Reply via email to