mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	gst: mark the pipewiresink as EARLY_PROCESS
We want to receive process callbacks as soon as a buffer is ready for reuse because we dequeue it for use in our buffer pool.
This commit is contained in:
		
							parent
							
								
									25e06e5912
								
							
						
					
					
						commit
						ef8d2ab125
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -633,6 +633,7 @@ gst_pipewire_sink_setcaps (GstBaseSink * bsink, GstCaps * caps)
 | 
				
			||||||
    char buf[64];
 | 
					    char buf[64];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    flags = PW_STREAM_FLAG_ASYNC;
 | 
					    flags = PW_STREAM_FLAG_ASYNC;
 | 
				
			||||||
 | 
					    flags |= PW_STREAM_FLAG_EARLY_PROCESS;
 | 
				
			||||||
    if (pwsink->mode != GST_PIPEWIRE_SINK_MODE_PROVIDE)
 | 
					    if (pwsink->mode != GST_PIPEWIRE_SINK_MODE_PROVIDE)
 | 
				
			||||||
      flags |= PW_STREAM_FLAG_AUTOCONNECT;
 | 
					      flags |= PW_STREAM_FLAG_AUTOCONNECT;
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue