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

fix(ops): output single frame before evaluating encode timeout #201

Merged

Conversation

Waldeedle
Copy link
Contributor

When I was updating some legacy code and testing new lilliput capabilities I realized that the single frame generation work is done but due to how the DisableAnimatedOutput option is evaluated at the start of the loop, I was getting the ErrEncodeTimeout when not specifying a encoding timeout.

The relevant test has been added with a timeout of 0 and the other tests have 300 specified to continue to operate as they are today.

@Waldeedle Waldeedle force-pushed the fix/single-frame-from-animated-images branch from 9094729 to 46d3d2d Compare November 15, 2024 22:11
@Waldeedle
Copy link
Contributor Author

@skidder this one should be fairly quick to dismiss or accept 🙏

Copy link
Contributor

@skidder skidder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, with one minor suggestion. After that it should be good to merge!

ops.go Outdated Show resolved Hide resolved
@Waldeedle Waldeedle force-pushed the fix/single-frame-from-animated-images branch from 46d3d2d to 15cf55b Compare November 19, 2024 16:34
@skidder skidder merged commit 8983735 into discord:master Nov 19, 2024
2 checks passed
@Waldeedle Waldeedle deleted the fix/single-frame-from-animated-images branch November 19, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants