Kaydet (Commit) 5d14f80c authored tarafından Thorsten Behrens's avatar Thorsten Behrens

Make avmedia module buildable with dbglevel=3 again.

üst 1984e0b4
...@@ -230,22 +230,14 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message ) ...@@ -230,22 +230,14 @@ GstBusSyncReply Player::processSyncMessage( GstMessage *message )
} }
} }
#if OSL_DEBUG_LEVEL > 2 maSizeCondition.set();
sal_Bool aSuccess =
#endif
maSizeCondition.set();
DBG( "%p set condition result: %d", this, aSuccess );
} }
} }
} }
} else if( GST_MESSAGE_TYPE( message ) == GST_MESSAGE_ERROR ) { } else if( GST_MESSAGE_TYPE( message ) == GST_MESSAGE_ERROR ) {
if( mnWidth == 0 ) { if( mnWidth == 0 ) {
// an error occurred, set condition so that OOo thread doesn't wait for us // an error occurred, set condition so that OOo thread doesn't wait for us
#if OSL_DEBUG_LEVEL > 2 maSizeCondition.set();
sal_Bool aSuccess =
#endif
maSizeCondition.set();
DBG( "%p set condition result: %d", this, aSuccess );
} }
} }
...@@ -537,7 +529,7 @@ awt::Size SAL_CALL Player::getPreferredPlayerWindowSize( ) ...@@ -537,7 +529,7 @@ awt::Size SAL_CALL Player::getPreferredPlayerWindowSize( )
TimeValue aTimeout = { 10, 0 }; TimeValue aTimeout = { 10, 0 };
#if OSL_DEBUG_LEVEL > 2 #if OSL_DEBUG_LEVEL > 2
oslConditionResult aResult = osl::Condition::Result aResult =
#endif #endif
maSizeCondition.wait( &aTimeout ); maSizeCondition.wait( &aTimeout );
......
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