mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: don't ask data when corked
Don't ask for data when we are corked. Some clients like telegram don't send data when corked. See #2041
This commit is contained in:
		
							parent
							
								
									5c6e26fd0b
								
							
						
					
					
						commit
						3b14afe317
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -193,7 +193,7 @@ uint32_t stream_pop_missing(struct stream *stream)
 | 
				
			||||||
	missing -= stream->requested;
 | 
						missing -= stream->requested;
 | 
				
			||||||
	missing -= avail;
 | 
						missing -= avail;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (missing <= 0)
 | 
						if (missing <= 0 || stream->corked)
 | 
				
			||||||
		return 0;
 | 
							return 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (missing < stream->attr.minreq && !stream_prebuf_active(stream, avail))
 | 
						if (missing < stream->attr.minreq && !stream_prebuf_active(stream, avail))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue