frontend-tools: Update clock Lua script for new gs_image_file_ex - #13974
Merged
Merged
Conversation
Follow-up to c3046ec. That commit completely replaced the various gs_image_file* structs and functions, but this script was not updated. Use the new structs and functions to fix the script.
Fenrirthviti
approved these changes
Oct 1, 2026
Fenrirthviti
left a comment
Member
There was a problem hiding this comment.
Tested on 33.0.0 Beta5 and the error is corrected and the source works as expected.
PatTheMav
approved these changes
Oct 1, 2026
Contributor
|
Should the Lua script move to gs_texture_create_from_file instead? as it does not support animated gifs at the moment |
Member
Author
This is a valid question that I do not have an answer for. Right now the script is broken, and I just wanted it to be back in a working state. |
Lain-B
approved these changes
Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow-up to c3046ec (#11178).
That commit completely replaced the various gs_image_file* structs and functions, but this script was not updated. Use the new structs and functions to fix the script.
Motivation and Context
Want the bundled scripts to work.
How Has This Been Tested?
Tested on Windows 11. Does not require an OBS Studio rebuild. Just load the updated script in OBS Studio.
Types of changes
Checklist: