fix incorrect hls segment handling
This commit is contained in:
@@ -238,7 +238,7 @@ public class MediaService {
|
||||
return new SegmentContext(segments, trimOffset);
|
||||
}
|
||||
|
||||
private Job dispatchSaveJob(Job job, SegmentContext ctx, float duration, Path outputFile, Runnable onSuccess) {
|
||||
private Job dispatchSaveJob(Job job, SegmentContext ctx, float duration, Path outputFile, Runnable onSuccess) throws IOException {
|
||||
job.setState(JobState.PROCESSING);
|
||||
streamActionsService.saveSection(ctx.segments(), ctx.trimOffset(), duration, outputFile, job.getProgressTracker())
|
||||
.thenRun(() -> {
|
||||
|
||||
Reference in New Issue
Block a user