Correct gst-python detect(without gst-python is gajim unable to load preferences dialog)

This commit is contained in:
Denis Fomin 2011-02-04 14:15:56 +03:00
parent 492b812eb5
commit 4b987beeb2
1 changed files with 2 additions and 0 deletions

View File

@ -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