Limit minimal video widget size to 336x189px

This commit is contained in:
Rafał Dzięgiel
2021-02-17 12:56:02 +01:00
parent e53f35c1c9
commit 192ccb379f
2 changed files with 6 additions and 2 deletions

View File

@@ -29,8 +29,7 @@ class ClapperPlayerBase extends GstClapper.Clapper
});
this.widget = gtk4plugin.video_sink.widget;
this.widget.vexpand = true;
this.widget.hexpand = true;
this.widget.add_css_class('videowidget');
this.state = GstClapper.ClapperState.STOPPED;
this.visualization_enabled = false;