mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
Move fps filter to GetVideoProcessingFilterParam
This commit is contained in:
@@ -4806,6 +4806,15 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
subFilters?.RemoveAll(filter => string.IsNullOrEmpty(filter));
|
||||
overlayFilters?.RemoveAll(filter => string.IsNullOrEmpty(filter));
|
||||
|
||||
var framerate = GetFramerateParam(state);
|
||||
if (framerate.HasValue)
|
||||
{
|
||||
mainFilters.Insert(0, string.Format(
|
||||
CultureInfo.InvariantCulture,
|
||||
"fps={0}",
|
||||
framerate.Value));
|
||||
}
|
||||
|
||||
var mainStr = string.Empty;
|
||||
if (mainFilters?.Count > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user