made timerangelist a encapsulation rather than a derivation

Locks off functionality that really shouldn't be used.
This commit is contained in:
itsmattkc
2020-10-29 02:18:41 +11:00
parent b582843d27
commit 07dc7104c5
9 changed files with 115 additions and 43 deletions
+2 -2
View File
@@ -88,11 +88,11 @@ bool ExportTask::Run()
TimeRangeList video_range, audio_range;
if (params_.video_enabled()) {
video_range.append(range);
video_range = {range};
}
if (params_.audio_enabled()) {
audio_range.append(range);
audio_range = {range};
audio_data_.SetLength(range.length());
}