[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - avmedia/source
Zolnai Tamás
tamas.zolnai at collabora.com
Sun May 25 06:37:51 PDT 2014
avmedia/source/viewer/mediawindow_impl.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 77b92784e727c4ce92caf1ba44e28da6dab476f3
Author: Zolnai Tamás <tamas.zolnai at collabora.com>
Date: Sun May 25 15:36:21 2014 +0200
avmedia: call resize before player window is created
Since b5529c8c457f442bfc43305becc0c02d6a09ee80
MediaChildWindow is depend on the media URL so
it is constructed later and so one resizing is
missed before creating the player window which
causes to display nothing in the media player
(Tools -> Media Player)
Change-Id: I548e6bb73193fccd1735e8343e9c06428ee686bc
diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx
index 993a8fc..834e5a5 100644
--- a/avmedia/source/viewer/mediawindow_impl.cxx
+++ b/avmedia/source/viewer/mediawindow_impl.cxx
@@ -520,6 +520,7 @@ void MediaWindowImpl::onURLChanged()
if( mxPlayer.is() )
{
+ Resize();
uno::Sequence< uno::Any > aArgs( 3 );
uno::Reference< media::XPlayerWindow > xPlayerWindow;
const Point aPoint;
More information about the Libreoffice-commits
mailing list