[Libreoffice-commits] core.git: avmedia/source
Caolán McNamara
caolanm at redhat.com
Wed Jul 19 09:05:34 UTC 2017
avmedia/source/gstreamer/gstplayer.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit ba5cdd68ff207082cf376429f8a5d4810ab013e3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jul 19 09:54:20 2017 +0100
gtk3: make video playback fill playback window
Change-Id: I43f2f77889856dc6a3b0c3a3775826dbb000be7a
Reviewed-on: https://gerrit.libreoffice.org/40168
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index bc2d7493071d..64c55dbc880e 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -920,6 +920,8 @@ uno::Reference< ::media::XPlayerWindow > SAL_CALL Player::createPlayerWindow( co
{
mbUseGtkSink = true;
g_object_get(pVideosink, "widget", &mpGtkWidget, nullptr);
+ gtk_widget_set_vexpand(mpGtkWidget, true);
+ gtk_widget_set_hexpand(mpGtkWidget, true);
GtkWidget *pParent = static_cast<GtkWidget*>(pEnvData->pWidget);
gtk_container_add (GTK_CONTAINER(pParent), mpGtkWidget);
More information about the Libreoffice-commits
mailing list