mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	v4l2: use the device name to open in BeginParams
This commit is contained in:
		
							parent
							
								
									c00e0e3467
								
							
						
					
					
						commit
						634d7107a4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -314,7 +314,7 @@ static int impl_node_send_command(void *object, const struct spa_command *comman
 | 
			
		|||
 | 
			
		||||
	switch (SPA_NODE_COMMAND_ID(command)) {
 | 
			
		||||
	case SPA_NODE_COMMAND_ParamBegin:
 | 
			
		||||
		if ((res = spa_v4l2_open(&port->dev, NULL)) < 0)
 | 
			
		||||
		if ((res = spa_v4l2_open(&port->dev, this->props.device)) < 0)
 | 
			
		||||
			return res;
 | 
			
		||||
		break;
 | 
			
		||||
	case SPA_NODE_COMMAND_ParamEnd:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue