* In the ContentDirectory description, SourceProtocolInfo doesn't need all the MIME types in AllowedValues. It actually makes the UPnP Certification Test Tool fail.
This commit is contained in:
		@@ -101,15 +101,21 @@ main(int argc, char * * argv)
 | 
				
			|||||||
	rootDesc = genRootDesc(&rootDescLen);
 | 
						rootDesc = genRootDesc(&rootDescLen);
 | 
				
			||||||
	xml_pretty_print(rootDesc, rootDescLen, stdout);
 | 
						xml_pretty_print(rootDesc, rootDescLen, stdout);
 | 
				
			||||||
	free(rootDesc);
 | 
						free(rootDesc);
 | 
				
			||||||
	printf("\n-------------\n");
 | 
						printf("\n----------------\n");
 | 
				
			||||||
 | 
						printf("ContentDirectory\n");
 | 
				
			||||||
 | 
						printf("----------------\n");
 | 
				
			||||||
	s = genContentDirectory(&l);
 | 
						s = genContentDirectory(&l);
 | 
				
			||||||
	xml_pretty_print(s, l, stdout);
 | 
						xml_pretty_print(s, l, stdout);
 | 
				
			||||||
	free(s);
 | 
						free(s);
 | 
				
			||||||
	printf("\n-------------\n");
 | 
						printf("\n----------------\n");
 | 
				
			||||||
 | 
						printf("ConnectionManager\n");
 | 
				
			||||||
 | 
						printf("----------------\n");
 | 
				
			||||||
	s = genConnectionManager(&l);
 | 
						s = genConnectionManager(&l);
 | 
				
			||||||
	xml_pretty_print(s, l, stdout);
 | 
						xml_pretty_print(s, l, stdout);
 | 
				
			||||||
	free(s);
 | 
						free(s);
 | 
				
			||||||
	printf("\n-------------\n");
 | 
						printf("\n----------------\n");
 | 
				
			||||||
 | 
						printf("X_MS_MRR\n");
 | 
				
			||||||
 | 
						printf("----------------\n");
 | 
				
			||||||
	s = genX_MS_MediaReceiverRegistrar(&l);
 | 
						s = genX_MS_MediaReceiverRegistrar(&l);
 | 
				
			||||||
	xml_pretty_print(s, l, stdout);
 | 
						xml_pretty_print(s, l, stdout);
 | 
				
			||||||
	free(s);
 | 
						free(s);
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -292,7 +292,7 @@ static const struct action ConnectionManagerActions[] =
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
static const struct stateVar ConnectionManagerVars[] =
 | 
					static const struct stateVar ConnectionManagerVars[] =
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	{"SourceProtocolInfo", 1<<7, 0, 44, 44}, /* required */
 | 
						{"SourceProtocolInfo", 1<<7, 0, 0, 44}, /* required */
 | 
				
			||||||
	{"SinkProtocolInfo", 1<<7, 0, 0, 48}, /* required */
 | 
						{"SinkProtocolInfo", 1<<7, 0, 0, 48}, /* required */
 | 
				
			||||||
	{"CurrentConnectionIDs", 1<<7, 0, 0, 46}, /* required */
 | 
						{"CurrentConnectionIDs", 1<<7, 0, 0, 46}, /* required */
 | 
				
			||||||
	{"A_ARG_TYPE_ConnectionStatus", 0, 0, 27}, /* required */
 | 
						{"A_ARG_TYPE_ConnectionStatus", 0, 0, 27}, /* required */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user