Protected audio decoding in a omp_critical, and removed some debug code

This commit is contained in:
Jonathan Thomas
2012-07-02 17:25:07 -05:00
parent ed6b50709d
commit eea7b0c076
3 changed files with 5 additions and 49 deletions

View File

@@ -358,13 +358,11 @@ bool Frame::IsAudioReady(bool has_audio)
if (channels_complete.size() == channels)
{
// yes, all audio is loaded
cout << "IsAudioReady: True, count: " << channels_complete.size() << endl;
return true;
}
else
{
// still waiting on some channel to be loaded
cout << "IsAudioReady: False, count: " << channels_complete.size() << endl;
return false;
}
}