Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FrameRange : Prevent creation of FrameRanges with negative steps #1372

Merged
merged 1 commit into from
Jul 14, 2023

Commits on Jul 14, 2023

  1. FrameRange : Prevent creation of FrameRanges with negative steps

    Previously, you could create a FrameRange object with a negative step,
    but it would go into an infinite loop if you tried to get the frame list
    
    Given that we have the ReversedFrameList that achieves the same as a
    negative step, it felt like using that was the correct approach.
    
    Note that we still include the support for the negative step in the
    parse method, so that we can provide a more useful error message during
    init.
    ivanimanishi committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    4c1438b View commit details
    Browse the repository at this point in the history