[PR #12991] [MERGED] Use invariant culture for tonemap options #13435

Closed
opened 2026-02-07 07:12:48 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/12991
Author: @gnattu
Created: 11/8/2024
Status: Merged
Merged: 11/9/2024
Merged by: @crobibero

Base: release-10.10.zHead: tonemap-options-use-invariant-culture


📝 Commits (2)

  • fdb72c9 Use invariant culture for tonemap options
  • d0fb057 Use string.Format

📊 Changes

1 file changed (+13 additions, -4 deletions)

View changed files

📝 MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs (+13 -4)

📄 Description

Those values that can have decimals need to explicitly use invariant culture for stringification, otherwise the user locale may use the decimal point that ffmpeg does not support.

Changes

Issues

Related: #12989


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/12991 **Author:** [@gnattu](https://github.com/gnattu) **Created:** 11/8/2024 **Status:** ✅ Merged **Merged:** 11/9/2024 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `release-10.10.z` ← **Head:** `tonemap-options-use-invariant-culture` --- ### 📝 Commits (2) - [`fdb72c9`](https://github.com/jellyfin/jellyfin/commit/fdb72c91182b940edce9d7ce6118db227fb0533f) Use invariant culture for tonemap options - [`d0fb057`](https://github.com/jellyfin/jellyfin/commit/d0fb0571222604fcb5071960b0e613e40522e060) Use string.Format ### 📊 Changes **1 file changed** (+13 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs` (+13 -4) </details> ### 📄 Description Those values that can have decimals need to explicitly use invariant culture for stringification, otherwise the user locale may use the decimal point that ffmpeg does not support. <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Related: #12989 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:12:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13435