mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	reset stream-state
Reset stream_state to unconnected when we remove the stream.
This commit is contained in:
		
							parent
							
								
									dbeee31c89
								
							
						
					
					
						commit
						dd9721ee46
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -729,6 +729,7 @@ gst_pinos_src_close (GstPinosSrc * pinossrc)
 | 
			
		|||
  g_clear_object (&pinossrc->ctx);
 | 
			
		||||
  g_main_context_unref (pinossrc->context);
 | 
			
		||||
  GST_OBJECT_LOCK (pinossrc);
 | 
			
		||||
  pinossrc->stream_state = PINOS_STREAM_STATE_UNCONNECTED;
 | 
			
		||||
  g_clear_object (&pinossrc->stream);
 | 
			
		||||
  GST_OBJECT_UNLOCK (pinossrc);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue