diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-03-13 19:53:21 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-03-13 19:53:21 -0500 |
commit | 7bf9fcf9e9b61aed53772726cbdc95276cd0f9b8 (patch) | |
tree | d036d8d0c6c758ca819fdcf707c8e33d5db08fad /avmedia | |
parent | 8f63d98ef94647792a230360e05a85bce194219a (diff) |
fix issue with avmedia GSTREAMER on mac
Diffstat (limited to 'avmedia')
-rwxr-xr-x | avmedia/source/viewer/mediawindow_impl.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx index fbc0e2e015e2..c79fea8c033f 100755 --- a/avmedia/source/viewer/mediawindow_impl.cxx +++ b/avmedia/source/viewer/mediawindow_impl.cxx @@ -238,14 +238,11 @@ void MediaWindowImpl::onURLChanged() aArgs[ 0 ] = uno::makeAny( nWndHandle ); aArgs[ 1 ] = uno::makeAny( awt::Rectangle( aPoint.X(), aPoint.Y(), aSize.Width(), aSize.Height() ) ); - const SystemEnvData *pSystemData = maChildWindow.GetSystemData(); - OSL_TRACE( "MediaWindowImpl::onURLChanged xwindow id: %ld", pSystemData->aWindow ); - aArgs[ 2 ] = uno::makeAny( pSystemData->aWindow ); + aArgs[ 2 ] = uno::makeAny( reinterpret_cast< sal_IntPtr >( &maChildWindow ) ); try { - if( pSystemData->aWindow != 0 ) - xPlayerWindow = getPlayer()->createPlayerWindow( aArgs ); + xPlayerWindow = getPlayer()->createPlayerWindow( aArgs ); } catch( uno::RuntimeException ) { |