made timerangelist a encapsulation rather than a derivation
Locks off functionality that really shouldn't be used.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user