mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pinossrc: handle NULL clock type
This commit is contained in:
		
							parent
							
								
									d81cbb2d93
								
							
						
					
					
						commit
						a3a0a45d0b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -477,6 +477,9 @@ parse_clock_info (GstPinosSrc *pinossrc)
 | 
			
		|||
  g_object_get (pinossrc->stream, "properties", &props, NULL);
 | 
			
		||||
 | 
			
		||||
  var = pinos_properties_get (props, "pinos.clock.type");
 | 
			
		||||
  if (var == NULL)
 | 
			
		||||
    return;
 | 
			
		||||
 | 
			
		||||
  GST_DEBUG_OBJECT (pinossrc, "got clock type %s", var);
 | 
			
		||||
  if (strcmp (var, "gst.net.time.provider") == 0) {
 | 
			
		||||
    const gchar *address;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue