mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #13030] [MERGED] Always cleanup trickplay temp for ffmpeg failures #13447
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/13030
Author: @gnattu
Created: 11/14/2024
Status: ✅ Merged
Merged: 11/15/2024
Merged by: @crobibero
Base:
release-10.10.z← Head:remove-trickplay-ffmpeg-failed📝 Commits (1)
f69c48dAlways cleanup trickplay temp for ffmpeg failures📊 Changes
1 file changed (+10 additions, -0 deletions)
View changed files
📝
MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs(+10 -0)📄 Description
The original implementation required the caller to perform cleanup, but this approach fails when ffmpeg encounters specific issues, such as timing out on slower systems or failing with an error code of -1. In these cases, the temp folder path is not returned, preventing the caller from cleaning it up. While ffmpeg typically doesn't write to this folder when failed, specific errors like a timeout could leave files there.
Changes
Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.