You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Protected audio decoding in a omp_critical, and removed some debug code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user