diff options
Diffstat (limited to 'voctogui/lib/ui.py')
-rw-r--r-- | voctogui/lib/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/voctogui/lib/ui.py b/voctogui/lib/ui.py index 451a619..68355df 100644 --- a/voctogui/lib/ui.py +++ b/voctogui/lib/ui.py @@ -36,7 +36,8 @@ class Ui(UiBuilder): # Create Main-Video Overlay Controller - self.video_warning_overlay = VideoWarningOverlay() + drawing_area = self.find_widget_recursive(self.win, 'video_overlay_drawingarea') + self.video_warning_overlay = VideoWarningOverlay(drawing_area) # Create Main-Video Display @@ -44,7 +45,6 @@ class Ui(UiBuilder): self.main_video_display = VideoDisplay(drawing_area, port=11000, play_audio=Config.getboolean('mainvideo', 'playaudio'), - draw_callback=self.video_warning_overlay.draw_callback, level_callback=self.audio_level_display.level_callback) |