mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-20 14:52:09 +00:00
Fix trickplay using the wrong video stream
This commit is contained in:
parent
6c073e19dd
commit
a0dca2f121
1 changed files with 3 additions and 0 deletions
|
|
@ -922,6 +922,9 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
inputArg = "-hwaccel_flags +low_priority " + inputArg;
|
||||
}
|
||||
|
||||
// Force the video stream, otherwise ffmpeg may pick a cover image.
|
||||
inputArg += " -map 0:" + imageStream.Index.ToString(CultureInfo.InvariantCulture);
|
||||
|
||||
var filterParam = encodingHelper.GetVideoProcessingFilterParam(jobState, options, vidEncoder).Trim();
|
||||
if (string.IsNullOrWhiteSpace(filterParam))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue