avmedia: call resize before player window is created
Since b5529c8c45
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user