diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-20 11:08:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-20 12:59:23 +0100 |
commit | 45687ecdcdde7735fd66c63f5f3a6e2c04253064 (patch) | |
tree | 5f4676c7c9d25df354e9552ead58070eb54bab77 /avmedia | |
parent | 3332b6b5f7012501b564ce7f2e5f886694f429ee (diff) |
WaE, unused parameters
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/gstreamer/gstplayer.cxx | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/avmedia/source/gstreamer/gstplayer.cxx b/avmedia/source/gstreamer/gstplayer.cxx index e415080dc3..f7d7c17373 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; |