We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a0ca21 commit 6062f0aCopy full SHA for 6062f0a
restreamer/restreamer/main.py
@@ -397,8 +397,8 @@ def cut(channel, quality):
397
398
type = request.args.get('type', 'fast')
399
if type == 'rough':
400
- if has_transitions:
401
- return "Cannot do rough cut with transitions", 400
+ # NOTE: We intentionally ignore transitions for rough cuts, as these are mostly used
+ # when downloading source footage for later editing.
402
return Response(rough_cut_segments(segment_ranges, ranges), mimetype='video/MP2T')
403
elif type == 'fast':
404
return Response(fast_cut_segments(segment_ranges, ranges, transitions), mimetype='video/MP2T')
0 commit comments