diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-18 20:13:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-19 12:01:10 +0100 |
commit | 62d9d64c90eaf4b6d8ff20b615c5645e12a9cba9 (patch) | |
tree | 0cc8a756ab18873a430f2cf217f59536e4b9100b /avmedia | |
parent | 869a2228401195179deea0a6ad994183841c2c4d (diff) |
gtk4: the assumption is that video is supposed to fit to the window
Change-Id: Iacc31ee978a1279c23ac895fb6f8fd610ab3113d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130176
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gtk/gtkplayer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/avmedia/source/gtk/gtkplayer.cxx b/avmedia/source/gtk/gtkplayer.cxx index b01eaeeed630..ea6276e02a59 100644 --- a/avmedia/source/gtk/gtkplayer.cxx +++ b/avmedia/source/gtk/gtkplayer.cxx @@ -271,6 +271,7 @@ uno::Reference<::media::XPlayerWindow> return nullptr; m_pVideo = gtk_picture_new_for_paintable(GDK_PAINTABLE(m_pStream)); + gtk_picture_set_keep_aspect_ratio(GTK_PICTURE(m_pVideo), false); gtk_widget_set_vexpand(m_pVideo, true); gtk_widget_set_hexpand(m_pVideo, true); |