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

video: Use cache dir for storing downloaded OpenH264 library #17803

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

kjarosh
Copy link
Member

@kjarosh kjarosh commented Sep 7, 2024

Using the executable's parent directory is a bad idea in most cases, as the place where Ruffle is installed should not be modified (often it's not even writable). This PR changes the directory where the OpenH264 library is saved to the cache directory, which should always be writable.

Using the executable's parent directory is a bad idea in most cases,
as the place where Ruffle is installed should not be modified.
This patch changes the directory where the OpenH264 library is saved to
the cache directory, which should always be writable.
@kjarosh kjarosh marked this pull request as ready for review September 12, 2024 10:11
Copy link
Member

@torokati44 torokati44 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@torokati44 torokati44 merged commit e8f52fd into ruffle-rs:master Sep 12, 2024
16 of 17 checks passed
@kjarosh kjarosh deleted the openh264-dir branch September 12, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-desktop Area: Desktop Application A-video
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants