Skip to content

Video and audio only profile switching not working #602

@paulgration

Description

@paulgration

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 range

Subsequently switching to a video profile again restores the video preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions