summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-20 11:08:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-20 12:59:23 +0100
commit18d692a0cb09976d88e5c38a409951ff6d71a2e8 (patch)
tree527c88c5335116b8ff57004ba491e35eab4c8f53
parent27f963e4296a0327a92718afb133cd9e32563d32 (diff)
WaE, unused parameters
-rw-r--r--avmedia/source/gstreamer/gstplayer.cxx19
1 files changed, 14 insertions, 5 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx
index e415080dc383..f7d7c17373c5 100644
--- a/avmedia/source/gstreamer/gstplayer.cxx
+++ b/avmedia/source/gstreamer/gstplayer.cxx
@@ -217,7 +217,10 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
}
}
- sal_Bool aSuccess = osl_setCondition( maSizeCondition );
+#if DEBUG
+ sal_Bool aSuccess =
+#endif
+ osl_setCondition( maSizeCondition );
DBG( "%p set condition result: %d", this, aSuccess );
}
}
@@ -225,7 +228,10 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
} else if( GST_MESSAGE_TYPE( message ) == GST_MESSAGE_ERROR ) {
if( mnWidth == 0 ) {
// an error occured, set condition so that OOo thread doesn't wait for us
- sal_Bool aSuccess = osl_setCondition( maSizeCondition );
+#if DEBUG
+ sal_Bool aSuccess =
+#endif
+ osl_setCondition( maSizeCondition );
DBG( "%p set condition result: %d", this, aSuccess );
}
}
@@ -384,7 +390,7 @@ double SAL_CALL Player::getMediaTime( )
// ------------------------------------------------------------------------------
-void SAL_CALL Player::setStopTime( double fTime )
+void SAL_CALL Player::setStopTime( double /*fTime*/ )
throw (uno::RuntimeException)
{
// TODO implement
@@ -402,7 +408,7 @@ double SAL_CALL Player::getStopTime( )
// ------------------------------------------------------------------------------
-void SAL_CALL Player::setRate( double fRate )
+void SAL_CALL Player::setRate( double /*fRate*/ )
throw (uno::RuntimeException)
{
// TODO set the window rate
@@ -516,7 +522,10 @@ awt::Size SAL_CALL Player::getPreferredPlayerWindowSize( )
DBG( "%p Player::getPreferredPlayerWindowSize, member %d x %d", this, mnWidth, mnHeight );
TimeValue aTimeout = { 10, 0 };
- oslConditionResult aResult = osl_waitCondition( maSizeCondition, &aTimeout );
+#if DEBUG
+ oslConditionResult aResult =
+#endif
+ osl_waitCondition( maSizeCondition, &aTimeout );
if( mbFakeVideo ) {
mbFakeVideo = sal_False;