summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-04-01 12:00:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-04-01 12:00:12 +0100
commit553b1d5a3d58f43d631d16f3a87db38f5bb2a68f (patch)
tree60002614b67252515a094b85ad69b89ded649401
parent47315dc95869c8d0388c9e8e43735320f734afe3 (diff)
fix catastrophic merge to restore video playback
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index 2e5e71602..00d2045d7 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -42,9 +42,6 @@
#include <vcl/window.hxx>
#include <vcl/syschild.hxx>
#include <vcl/salbtype.hxx>
-#ifdef GSTREAMER
-#include <vcl/sysdata.hxx>
-#endif
#include <basegfx/tools/canvastools.hxx>
#include <basegfx/numeric/ftools.hxx>
@@ -457,19 +454,11 @@ namespace slideshow
if( mxPlayer.is() )
{
-#ifndef GSTREAMER
aArgs[ 0 ] = uno::makeAny(
sal::static_int_cast< sal_IntPtr >( mpMediaWindow->GetParentWindowHandle() ) );
-#else
- aArgs[ 0 ] = uno::makeAny ( (sal_Int32) 0 );
-#endif
+
aAWTRect.X = aAWTRect.Y = 0;
aArgs[ 1 ] = uno::makeAny( aAWTRect );
-#ifdef GSTREAMER
- const SystemEnvData *pSystemData = mpMediaWindow->GetSystemData();
- OSL_TRACE( "xwindow id: %ld", pSystemData->aWindow );
- aArgs[ 2 ] = uno::makeAny( pSystemData->aWindow );
-#endif
aArgs[ 2 ] = uno::makeAny( reinterpret_cast< sal_IntPtr >( mpMediaWindow.get() ) );