mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	context: add missing link prepare
It got removed accidentally in a previous commit, breaking some of the loopback devices. Fixes #1472
This commit is contained in:
		
							parent
							
								
									fc85b33e80
								
							
						
					
					
						commit
						f71529cbaf
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -995,6 +995,8 @@ static int collect_nodes(struct pw_context *context, struct pw_impl_node *driver
 | 
				
			||||||
				if (t->visited || !t->active)
 | 
									if (t->visited || !t->active)
 | 
				
			||||||
					continue;
 | 
										continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
									pw_impl_link_prepare(l);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if (!l->passive)
 | 
									if (!l->passive)
 | 
				
			||||||
					driver->passive = n->passive = false;
 | 
										driver->passive = n->passive = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1004,8 +1006,8 @@ static int collect_nodes(struct pw_context *context, struct pw_impl_node *driver
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		/* now go through all the followers of this driver and add the
 | 
							/* now go through all the nodes that have the same group and
 | 
				
			||||||
		 * nodes that have the same group and that are not yet visited */
 | 
							 * that are not yet visited */
 | 
				
			||||||
		if (n->group[0] == '\0')
 | 
							if (n->group[0] == '\0')
 | 
				
			||||||
			continue;
 | 
								continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue