mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: warn for unsupported seek flags
This commit is contained in:
		
							parent
							
								
									8cb1db5a61
								
							
						
					
					
						commit
						4ef0ef464e
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -4756,6 +4756,9 @@ static int handle_memblock(struct client *client, struct message *msg)
 | 
			
		|||
			" flags:%08x size:%u", impl, channel, offset,
 | 
			
		||||
			flags, msg->length);
 | 
			
		||||
 | 
			
		||||
	if (flags != 0)
 | 
			
		||||
		pw_log_warn(NAME" %p: unhandled seek flags:%02x", impl, flags);
 | 
			
		||||
 | 
			
		||||
	stream = pw_map_lookup(&client->streams, channel);
 | 
			
		||||
	if (stream == NULL || stream->type == STREAM_TYPE_RECORD) {
 | 
			
		||||
		res = -EINVAL;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue