[PR #13506] [MERGED] Order MediaStream query by StreamIndex #13610

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/13506
Author: @gnattu
Created: 2/6/2025
Status: Merged
Merged: 2/6/2025
Merged by: @crobibero

Base: masterHead: order-media-streams


📝 Commits (1)

  • 7fdc824 Order MediaStream query by StreamIndex

📊 Changes

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

View changed files

📝 Jellyfin.Server.Implementations/Item/MediaStreamRepository.cs (+1 -1)

📄 Description

Our stream index calculation logic implemented in #7529, assumes an in-order array. However, our current query may return out-of-order items, leading the server to pass an incorrect index to ffmpeg, causing the transcoding to crash.

Changes

Issues

Fixes #13505


🔄 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/13506 **Author:** [@gnattu](https://github.com/gnattu) **Created:** 2/6/2025 **Status:** ✅ Merged **Merged:** 2/6/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `order-media-streams` --- ### 📝 Commits (1) - [`7fdc824`](https://github.com/jellyfin/jellyfin/commit/7fdc8247e66f977e1679b62159941e36fef861fc) Order MediaStream query by StreamIndex ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server.Implementations/Item/MediaStreamRepository.cs` (+1 -1) </details> ### 📄 Description Our stream index calculation logic implemented in #7529, assumes an in-order array. However, our current query may return out-of-order items, leading the server to pass an incorrect index to ffmpeg, causing the transcoding to crash. <!-- 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 # --> Fixes #13505 --- <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:16:03 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13610