diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-25 15:36:21 +0200 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-05-25 15:39:39 +0200 |
commit | ddb73c61377ad44baaa83ea92b4445e31b6f58bb (patch) | |
tree | 501ddc0b203fa6a69c8f7511e6ea12b7abdce2bb /avmedia | |
parent | 25db60d2e4f1097cdd6a9944e96461fe57658628 (diff) |
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')
-rw-r--r-- | avmedia/source/viewer/mediawindow_impl.cxx | 1 |
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; |