Added enclosed DEBUG_MOVIE debug line
This commit is contained in:
parent
695d51dbfe
commit
b04ccee735
@ -66,7 +66,9 @@ AnimationFrame AnimationLoader::frame(int frameNumber)
|
|||||||
m_task_lock.lock();
|
m_task_lock.lock();
|
||||||
while (m_frames.size() < frameNumber + 1)
|
while (m_frames.size() < frameNumber + 1)
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG_MOVIE
|
||||||
qDebug().noquote() << "Waiting for frame" << frameNumber << QString("(file: %1, frame count: %2)").arg(m_file_name).arg(m_frame_count);
|
qDebug().noquote() << "Waiting for frame" << frameNumber << QString("(file: %1, frame count: %2)").arg(m_file_name).arg(m_frame_count);
|
||||||
|
#endif
|
||||||
m_task_signal.wait(&m_task_lock);
|
m_task_signal.wait(&m_task_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user