Commit b6b704b0 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

commented debug. (not removed, i'm felling like I can use them again :D )

parent f65b3f71
......@@ -85,15 +85,15 @@ void MediaPlayer::callbacks( const libvlc_event_t* ev
switch ( event->type )
{
case libvlc_MediaPlayerPlaying:
qDebug() << "Media player playing";
// qDebug() << "Media player playing";
self->emit playing();
break;
case libvlc_MediaPlayerPaused:
qDebug() << "Media player paused";
// qDebug() << "Media player paused";
self->emit paused();
break;
case libvlc_MediaPlayerStopped:
qDebug() << "Media player stopped";
// qDebug() << "Media player stopped";
self->emit stopped();
break;
case libvlc_MediaPlayerEndReached:
......@@ -153,7 +153,6 @@ qint64 MediaPlayer::getTime()
void MediaPlayer::setTime( qint64 time )
{
qDebug() << "Setting time:" << time;
libvlc_media_player_set_time( m_internalPtr, time, m_ex );
CheckVlcppException( m_ex );
}
......
......@@ -169,7 +169,7 @@ void ClipWorkflow::stop()
m_mediaPlayer->stop();
disconnect( m_mediaPlayer, SIGNAL( endReached() ), this, SLOT( clipEndReached() ) );
Pool<LibVLCpp::MediaPlayer>::getInstance()->release( m_mediaPlayer );
qDebug() << "Setting media player to NULL";
// qDebug() << "Setting media player to NULL";
m_mediaPlayer = NULL;
setState( Stopped );
QMutexLocker lock( m_requiredStateLock );
......
......@@ -151,11 +151,11 @@ void TrackWorkflow::renderClip( ClipWorkflow* cw, qint64 currentFrame,
}
else if ( cw->getState() == ClipWorkflow::Stopped )
{
qDebug() << "Unlocking state lock";
// qDebug() << "Unlocking state lock";
cw->getStateLock()->unlock();
qDebug() << "Initializing";
// qDebug() << "Initializing";
cw->initialize();
qDebug() << "Calling start render";
// qDebug() << "Calling start render";
cw->startRender( m_paused );
if ( start != currentFrame || cw->getClip()->getBegin() != 0 ) //Clip was not started as its real begining
{
......@@ -322,7 +322,6 @@ bool TrackWorkflow::getOutput( qint64 currentFrame )
// qDebug() << "Start:" << start << "Current Frame:" << currentFrame;
if ( start <= currentFrame && currentFrame <= start + cw->getClip()->getLength() )
{
qDebug() << "Adding a clip to render";
m_nbClipToRender.fetchAndAddAcquire( 1 );
renderClip( cw, currentFrame, start, needRepositioning );
hasRendered = true;
......
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