Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions scenedetect/scene_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def get_scenes_from_cuts(cut_list, base_timecode, num_frames, start_frame=0):
# Scene list, where scenes are tuples of (Start FrameTimecode, End FrameTimecode).
scene_list = []
if not cut_list:
scene_list.append((base_timecode + start_frame, base_timecode + num_frames))
return scene_list
# Initialize last_cut to the first frame we processed,as it will be
# the start timecode for the first scene in the list.
Expand Down