mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	filter-chain: control is just an object
This commit is contained in:
		
							parent
							
								
									1088f875d4
								
							
						
					
					
						commit
						2714ba47ac
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -831,8 +831,7 @@ static int load_node(struct graph *graph, struct spa_json *json)
 | 
				
			||||||
				return -EINVAL;
 | 
									return -EINVAL;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		} else if (strcmp("control", key) == 0) {
 | 
							} else if (strcmp("control", key) == 0) {
 | 
				
			||||||
			if (spa_json_enter_array(json, &it[0]) <= 0)
 | 
								it[0] = *json;
 | 
				
			||||||
				return -EINVAL;
 | 
					 | 
				
			||||||
			have_control = true;
 | 
								have_control = true;
 | 
				
			||||||
		} else if (spa_json_next(json, &val) < 0)
 | 
							} else if (spa_json_next(json, &val) < 0)
 | 
				
			||||||
			break;
 | 
								break;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue