* 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);
 | 
			
		||||
	xml_pretty_print(rootDesc, rootDescLen, stdout);
 | 
			
		||||
	free(rootDesc);
 | 
			
		||||
	printf("\n-------------\n");
 | 
			
		||||
	printf("\n----------------\n");
 | 
			
		||||
	printf("ContentDirectory\n");
 | 
			
		||||
	printf("----------------\n");
 | 
			
		||||
	s = genContentDirectory(&l);
 | 
			
		||||
	xml_pretty_print(s, l, stdout);
 | 
			
		||||
	free(s);
 | 
			
		||||
	printf("\n-------------\n");
 | 
			
		||||
	printf("\n----------------\n");
 | 
			
		||||
	printf("ConnectionManager\n");
 | 
			
		||||
	printf("----------------\n");
 | 
			
		||||
	s = genConnectionManager(&l);
 | 
			
		||||
	xml_pretty_print(s, l, stdout);
 | 
			
		||||
	free(s);
 | 
			
		||||
	printf("\n-------------\n");
 | 
			
		||||
	printf("\n----------------\n");
 | 
			
		||||
	printf("X_MS_MRR\n");
 | 
			
		||||
	printf("----------------\n");
 | 
			
		||||
	s = genX_MS_MediaReceiverRegistrar(&l);
 | 
			
		||||
	xml_pretty_print(s, l, stdout);
 | 
			
		||||
	free(s);
 | 
			
		||||
 
 | 
			
		||||
@@ -292,7 +292,7 @@ static const struct action ConnectionManagerActions[] =
 | 
			
		||||
 | 
			
		||||
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 */
 | 
			
		||||
	{"CurrentConnectionIDs", 1<<7, 0, 0, 46}, /* required */
 | 
			
		||||
	{"A_ARG_TYPE_ConnectionStatus", 0, 0, 27}, /* required */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user