mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	stream: call _done after operation callback
This commit is contained in:
		
							parent
							
								
									c979f181a5
								
							
						
					
					
						commit
						3b7f2c527c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1307,9 +1307,9 @@ static void on_success(pa_operation *o, void *userdata)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct success_ack *d = userdata;
 | 
						struct success_ack *d = userdata;
 | 
				
			||||||
	pa_stream *s = o->stream;
 | 
						pa_stream *s = o->stream;
 | 
				
			||||||
	pa_operation_done(o);
 | 
					 | 
				
			||||||
	if (d->cb)
 | 
						if (d->cb)
 | 
				
			||||||
		d->cb(s, 1, d->userdata);
 | 
							d->cb(s, 1, d->userdata);
 | 
				
			||||||
 | 
						pa_operation_done(o);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SPA_EXPORT
 | 
					SPA_EXPORT
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue