Kaydet (Commit) 7bf9fcf9 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

fix issue with avmedia GSTREAMER on mac

üst 8f63d98e
...@@ -238,14 +238,11 @@ void MediaWindowImpl::onURLChanged() ...@@ -238,14 +238,11 @@ void MediaWindowImpl::onURLChanged()
aArgs[ 0 ] = uno::makeAny( nWndHandle ); aArgs[ 0 ] = uno::makeAny( nWndHandle );
aArgs[ 1 ] = uno::makeAny( awt::Rectangle( aPoint.X(), aPoint.Y(), aSize.Width(), aSize.Height() ) ); aArgs[ 1 ] = uno::makeAny( awt::Rectangle( aPoint.X(), aPoint.Y(), aSize.Width(), aSize.Height() ) );
const SystemEnvData *pSystemData = maChildWindow.GetSystemData(); aArgs[ 2 ] = uno::makeAny( reinterpret_cast< sal_IntPtr >( &maChildWindow ) );
OSL_TRACE( "MediaWindowImpl::onURLChanged xwindow id: %ld", pSystemData->aWindow );
aArgs[ 2 ] = uno::makeAny( pSystemData->aWindow );
try try
{ {
if( pSystemData->aWindow != 0 ) xPlayerWindow = getPlayer()->createPlayerWindow( aArgs );
xPlayerWindow = getPlayer()->createPlayerWindow( aArgs );
} }
catch( uno::RuntimeException ) catch( uno::RuntimeException )
{ {
......
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