Skip to content
Snippets Groups Projects
Commit bf8347e9 authored by Thibg's avatar Thibg
Browse files

[Jingle] Fix detection of multiple devices

parent 06c7f2bd
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,9 @@ class DeviceManager(object):
if devices:
self.devices[text % _(' Default device')] = pipe % name
for device in devices:
element.set_state(gst.STATE_NULL)
element.set_property('device', device)
element.set_state(gst.STATE_READY)
device_name = element.get_property('device-name')
self.devices[text % device_name] = pipe % '%s device=%s' % (name, device)
element.set_state(gst.STATE_NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment