You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Made Keyframe objects thread safe, by generating the values as Points are added, and the Timeline's Open and Close logic was made thread safe, so a reader is not closed while it's still being accessed on another thread. Also removed some unneeded code and comments.
This commit is contained in:
@@ -28,7 +28,6 @@ void FileWriterBase::InitFileInfo()
|
||||
info.channels = 0;
|
||||
info.audio_stream_index = -1;
|
||||
info.audio_timebase = Fraction();
|
||||
info.visualize = false;
|
||||
}
|
||||
|
||||
// Display file information
|
||||
@@ -66,7 +65,6 @@ void FileWriterBase::DisplayInfo() {
|
||||
cout << "--> # of Channels: " << info.channels << endl;
|
||||
cout << "--> Audio Stream Index: " << info.audio_stream_index << endl;
|
||||
cout << "--> Audio Timebase: " << info.audio_timebase.ToDouble() << " (" << info.audio_timebase.num << "/" << info.audio_timebase.den << ")" << endl;
|
||||
cout << "--> Visualize Waveform: " << info.visualize << endl;
|
||||
cout << "----------------------------" << endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user