Correct gst-python detect(without gst-python is gajim unable to load preferences dialog)
This commit is contained in:
		
							parent
							
								
									492b812eb5
								
							
						
					
					
						commit
						4b987beeb2
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -44,6 +44,8 @@ class DeviceManager(object):
 | 
			
		|||
                element.set_state(gst.STATE_NULL)
 | 
			
		||||
            else:
 | 
			
		||||
                self.devices[text] = pipe % name
 | 
			
		||||
        except ImportError:
 | 
			
		||||
            pass
 | 
			
		||||
        except gst.ElementNotFoundError:
 | 
			
		||||
            print 'element \'%s\' not found' % name
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue