[PR #12847] [MERGED] Fix seeking beyond EOF in HWA transcoding #13396

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/12847
Author: @nyanmisaka
Created: 10/19/2024
Status: Merged
Merged: 10/19/2024
Merged by: @crobibero

Base: masterHead: clamp-seek


📝 Commits (1)

  • c47fb2b Fix seeking beyond EOF in HWA transcoding

📊 Changes

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

View changed files

📝 MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs (+9 -0)

📄 Description

Changes

  • Fix seeking beyond EOF in HWA transcoding

Issues

  • Seeking beyond EOF makes no sense in transcoding. Clamp the seekTick value to
    [0, RuntimeTicks - 0.5s], so that the muxer gets packets and avoid error codes.

🔄 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/12847 **Author:** [@nyanmisaka](https://github.com/nyanmisaka) **Created:** 10/19/2024 **Status:** ✅ Merged **Merged:** 10/19/2024 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `clamp-seek` --- ### 📝 Commits (1) - [`c47fb2b`](https://github.com/jellyfin/jellyfin/commit/c47fb2b92c44a5c4f24c4f772d5b77c409d71f8d) Fix seeking beyond EOF in HWA transcoding ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs` (+9 -0) </details> ### 📄 Description **Changes** - Fix seeking beyond EOF in HWA transcoding **Issues** - Seeking beyond EOF makes no sense in transcoding. Clamp the seekTick value to [0, RuntimeTicks - 0.5s], so that the muxer gets packets and avoid error codes. --- <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:12 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13396