mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	context: after suspend, reevaluate the graph
Reevaluate the graph again after we potentially suspend because of a rate change because links might become unprepared and need to be prepared again before the node becomes active.
This commit is contained in:
		
							parent
							
								
									48f7218d03
								
							
						
					
					
						commit
						da8f835de3
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -1250,6 +1250,8 @@ again:
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			n->rt.position->clock.rate = SPA_FRACTION(1, target_rate);
 | 
								n->rt.position->clock.rate = SPA_FRACTION(1, target_rate);
 | 
				
			||||||
			current_rate = target_rate;
 | 
								current_rate = target_rate;
 | 
				
			||||||
 | 
								/* we might be suspended now and the links need to be prepared again */
 | 
				
			||||||
 | 
								goto again;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue