Diffstat (limited to 'core/multimedia/opieplayer/loopcontrol_threaded.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/loopcontrol_threaded.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/multimedia/opieplayer/loopcontrol_threaded.cpp b/core/multimedia/opieplayer/loopcontrol_threaded.cpp index e99c97b..364e77b 100644 --- a/core/multimedia/opieplayer/loopcontrol_threaded.cpp +++ b/core/multimedia/opieplayer/loopcontrol_threaded.cpp @@ -194,3 +194,3 @@ void LoopControl::setPosition( long pos ) { audioMutex->lock(); -qDebug("setting position"); + //qDebug("setting position"); playtime.restart(); @@ -310,3 +310,3 @@ void LoopControl::startVideo() { if ( current_frame > prev_frame + 1 ) { - qDebug("skipped a frame"); + // qDebug("skipped a frame"); mediaPlayerState->curDecoder()->videoSetFrame( current_frame, stream ); @@ -343,4 +343,4 @@ void LoopControl::startAudio() { - if ( currentSample != audioSampleCounter + 1 ) - qDebug("out of sync with decoder %i %i", currentSample, audioSampleCounter); +// if ( currentSample != audioSampleCounter + 1 ) +// qDebug("out of sync with decoder %i %i", currentSample, audioSampleCounter); audioMutex->unlock(); @@ -373,3 +373,3 @@ void LoopControl::startAudio() { if ( sampleWaitTime <= -2000 ) { - qDebug("need to catch up by: %li (%i,%li)", -sampleWaitTime, currentSample, sampleWeShouldBeAt ); + // qDebug("need to catch up by: %li (%i,%li)", -sampleWaitTime, currentSample, sampleWeShouldBeAt ); mediaPlayerState->curDecoder()->audioSetSample( sampleWeShouldBeAt, stream ); @@ -404,3 +404,3 @@ void LoopControl::startAudio() { - qDebug( "End of file" ); + // qDebug( "End of file" ); @@ -418,3 +418,3 @@ void LoopControl::killTimers() { if ( pthread_join(video_tid,&thread_result) != 0 ) - qDebug("thread join error 1"); + // qDebug("thread join error 1"); pthread_attr_destroy(&video_attr); @@ -428,3 +428,3 @@ void LoopControl::killTimers() { if ( pthread_join(audio_tid,&thread_result) != 0 ) - qDebug("thread join error 2"); + // qDebug("thread join error 2"); pthread_attr_destroy(&audio_attr); @@ -515,3 +515,3 @@ bool LoopControl::init( const QString& filename ) { - qDebug( "Using the %s decoder", mediaPlayerState->curDecoder()->pluginName() ); + // qDebug( "Using the %s decoder", mediaPlayerState->curDecoder()->pluginName() ); |