Kaydet (Commit) ddb73c61 authored tarafından Zolnai Tamás's avatar Zolnai Tamás

avmedia: call resize before player window is created

Since b5529c8c
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
üst 25db60d2
...@@ -514,6 +514,7 @@ void MediaWindowImpl::onURLChanged() ...@@ -514,6 +514,7 @@ void MediaWindowImpl::onURLChanged()
if( mxPlayer.is() ) if( mxPlayer.is() )
{ {
Resize();
uno::Sequence< uno::Any > aArgs( 3 ); uno::Sequence< uno::Any > aArgs( 3 );
uno::Reference< media::XPlayerWindow > xPlayerWindow; uno::Reference< media::XPlayerWindow > xPlayerWindow;
const Point aPoint; const Point aPoint;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment