summaryrefslogtreecommitdiffstats
path: root/avmedia/source
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-05-25 15:36:21 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-05-25 15:39:39 +0200
commitddb73c61377ad44baaa83ea92b4445e31b6f58bb (patch)
tree501ddc0b203fa6a69c8f7511e6ea12b7abdce2bb /avmedia/source
parentPartly revert 4ec3554a80f065c2d9c957d6ce7f577fb195be02 (diff)
downloadcore-ddb73c61377ad44baaa83ea92b4445e31b6f58bb.tar.gz
core-ddb73c61377ad44baaa83ea92b4445e31b6f58bb.zip
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
Diffstat (limited to 'avmedia/source')
-rw-r--r--avmedia/source/viewer/mediawindow_impl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx
index a3618430c1b0..114ab9b2ddc9 100644
--- a/avmedia/source/viewer/mediawindow_impl.cxx
+++ b/avmedia/source/viewer/mediawindow_impl.cxx
@@ -514,6 +514,7 @@ void MediaWindowImpl::onURLChanged()
if( mxPlayer.is() )
{
+ Resize();
uno::Sequence< uno::Any > aArgs( 3 );
uno::Reference< media::XPlayerWindow > xPlayerWindow;
const Point aPoint;