mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Revert "modules: enforce equal library and compiler versions"
This reverts commit 697daeedf7.
This is too much, we should do better and only disallow incompatible
versions.
			
			
This commit is contained in:
		
							parent
							
								
									f1b0ab431e
								
							
						
					
					
						commit
						d225a192a1
					
				
					 4 changed files with 0 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -3543,9 +3543,6 @@ jack_client_t * jack_client_open (const char *client_name,
 | 
			
		|||
	    strstr(pw_get_library_version(), "0.2") != NULL)
 | 
			
		||||
		goto disabled;
 | 
			
		||||
 | 
			
		||||
	if (!spa_streq(pw_get_library_version(), pw_get_headers_version()))
 | 
			
		||||
		goto disabled;
 | 
			
		||||
 | 
			
		||||
	return_val_if_fail(client_name != NULL, NULL);
 | 
			
		||||
 | 
			
		||||
	client = calloc(1, sizeof(struct client));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -163,9 +163,6 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
 | 
			
		|||
 | 
			
		||||
	PW_LOG_TOPIC_INIT(mod_topic);
 | 
			
		||||
 | 
			
		||||
	if (!spa_streq(pw_get_library_version(), pw_get_headers_version()))
 | 
			
		||||
		return -ESTALE;
 | 
			
		||||
 | 
			
		||||
	factory = pw_context_create_factory(context,
 | 
			
		||||
				 "client-node",
 | 
			
		||||
				 PW_TYPE_INTERFACE_ClientNode,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -387,9 +387,6 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
 | 
			
		|||
		NULL
 | 
			
		||||
	};
 | 
			
		||||
 | 
			
		||||
	if (!spa_streq(pw_get_library_version(), pw_get_headers_version()))
 | 
			
		||||
		return -ESTALE;
 | 
			
		||||
 | 
			
		||||
	PW_LOG_TOPIC_INIT(mod_topic);
 | 
			
		||||
 | 
			
		||||
	impl = calloc(1, sizeof(struct impl));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1472,9 +1472,6 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
 | 
			
		|||
	const struct pw_properties *props;
 | 
			
		||||
	int res;
 | 
			
		||||
 | 
			
		||||
	if (!spa_streq(pw_get_library_version(), pw_get_headers_version()))
 | 
			
		||||
		return -ESTALE;
 | 
			
		||||
 | 
			
		||||
	PW_LOG_TOPIC_INIT(mod_topic);
 | 
			
		||||
	PW_LOG_TOPIC_INIT(mod_topic_connection);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue