-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
Prior to commit 3f5cb3a when starting Galicaster with a video profile and switching to an audio only profile then switching back to a video profile the video preview doesn't get displayed again, Galicaster stays on the audio only preview state and it wasn't possible to get the video preview to display again so this wasn't functioning correctly..
Since 3f5cb3a starting Galicaster with a video profile and switching to an audio only profile now raises an exception and the video preview freezes:
Traceback (most recent call last):
File "Galicaster/galicaster/recorder/service.py", line 130, in drawing_areas_wrapper
areas = self.__create_drawing_areas_func(info)
File "Galicaster/galicaster/classui/recorderui.py", line 497, in create_drawing_areas
source = sources[i]
IndexError: list index out of rangeSubsequently switching to a video profile again restores the video preview