mirror of
				https://github.com/albfan/miraclecast.git
				synced 2025-03-09 23:38:56 +00:00 
			
		
		
		
	miracle-wfdctl: set XAUTHORITY and DISPLAY before create gstreamer
pipeline, and now we can pass device name to pulseaudio
This commit is contained in:
		
							parent
							
								
									50f6ccf303
								
							
						
					
					
						commit
						07ca224397
					
				
					 7 changed files with 120 additions and 40 deletions
				
			
		| 
						 | 
				
			
			@ -188,7 +188,7 @@ int wfd_session_teardown(struct wfd_session *s)
 | 
			
		|||
		return session_vtbl[s->dir].teardown(s);;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	wfd_session_free(s);
 | 
			
		||||
	//wfd_session_free(s);
 | 
			
		||||
 | 
			
		||||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -219,6 +219,7 @@ void wfd_session_free(struct wfd_session *s)
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	if(s->rtsp) {
 | 
			
		||||
		rtsp_detach_event(s->rtsp);
 | 
			
		||||
		rtsp_unref(s->rtsp);
 | 
			
		||||
		s->rtsp = NULL;
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue