mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	fmtconvert: prefer planar formats when possible
It's easier to convert to and from.
This commit is contained in:
		
							parent
							
								
									50437029a3
								
							
						
					
					
						commit
						d5d8150e05
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -378,7 +378,7 @@ static int port_enum_formats(void *object,
 | 
				
			||||||
			if (other->have_format)
 | 
								if (other->have_format)
 | 
				
			||||||
				info = other->format;
 | 
									info = other->format;
 | 
				
			||||||
			else
 | 
								else
 | 
				
			||||||
				info.info.raw.format = SPA_AUDIO_FORMAT_F32;
 | 
									info.info.raw.format = SPA_AUDIO_FORMAT_F32P;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			if (!other->have_format ||
 | 
								if (!other->have_format ||
 | 
				
			||||||
			    info.info.raw.format == SPA_AUDIO_FORMAT_F32P ||
 | 
								    info.info.raw.format == SPA_AUDIO_FORMAT_F32P ||
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue