Added enclosed DEBUG_MOVIE debug line

This commit is contained in:
TrickyLeifa 2024-05-22 22:12:56 +02:00
parent 695d51dbfe
commit b04ccee735

View File

@ -66,7 +66,9 @@ AnimationFrame AnimationLoader::frame(int frameNumber)
m_task_lock.lock();
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);
#endif
m_task_signal.wait(&m_task_lock);
}