mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	fmtconvert: always prefer just 1 buffer
This commit is contained in:
		
							parent
							
								
									697976f416
								
							
						
					
					
						commit
						fa792a91a0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -457,7 +457,7 @@ impl_node_port_enum_params(void *object, int seq,
 | 
			
		|||
		if (other->n_buffers > 0) {
 | 
			
		||||
			param = spa_pod_builder_add_object(&b,
 | 
			
		||||
				SPA_TYPE_OBJECT_ParamBuffers, id,
 | 
			
		||||
				SPA_PARAM_BUFFERS_buffers, SPA_POD_CHOICE_RANGE_Int(other->n_buffers, 1, MAX_BUFFERS),
 | 
			
		||||
				SPA_PARAM_BUFFERS_buffers, SPA_POD_CHOICE_RANGE_Int(1, 1, MAX_BUFFERS),
 | 
			
		||||
				SPA_PARAM_BUFFERS_blocks,  SPA_POD_Int(port->blocks),
 | 
			
		||||
				SPA_PARAM_BUFFERS_size,    SPA_POD_Int(other->size / other->stride * port->stride),
 | 
			
		||||
				SPA_PARAM_BUFFERS_stride,  SPA_POD_Int(port->stride),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue