From 3f24beb85790027883b33f678cc0d12a353e35ed Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 30 Jan 2016 16:18:21 +0100 Subject: force preview-display-scaler to preview-size in x-mode, fixes #53 --- voctogui/lib/videopreviews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'voctogui/lib/videopreviews.py') diff --git a/voctogui/lib/videopreviews.py b/voctogui/lib/videopreviews.py index d80541f..fe41aea 100644 --- a/voctogui/lib/videopreviews.py +++ b/voctogui/lib/videopreviews.py @@ -52,7 +52,7 @@ class VideoPreviewsController(object): video.set_size_request(width, height) drawing_area.pack_start(preview, fill=False, expand=False, padding=0) - player = VideoDisplay(video, port=13000 + idx) + player = VideoDisplay(video, port=13000 + idx, width=width, height=height) uibuilder.find_widget_recursive(preview, 'label').set_label(source) btn_a = uibuilder.find_widget_recursive(preview, 'btn_a') -- cgit v1.2.3