diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-10-26 22:53:53 +0200 |
|---|---|---|
| committer | Bond-009 <bond.009@outlook.com> | 2019-11-25 12:07:59 +0100 |
| commit | cc5acf37f75d2c652d9cd855ebc34a1e7d414a9f (patch) | |
| tree | 1e5f031518b68a15dd9e41f7dde1273a678b3524 /MediaBrowser.Providers/MediaInfo/VideoImageProvider.cs | |
| parent | e7098f1997ee74eb3bdaad33836839ace6d80f64 (diff) | |
Make probesize and analyzeduration configurable and simplify circular
dependencies
Makes the probesize and analyzeduration configurable with env args.
(`JELLYFIN_FFmpeg_probesize` and `FFmpeg_analyzeduration`)
Diffstat (limited to 'MediaBrowser.Providers/MediaInfo/VideoImageProvider.cs')
| -rw-r--r-- | MediaBrowser.Providers/MediaInfo/VideoImageProvider.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Providers/MediaInfo/VideoImageProvider.cs b/MediaBrowser.Providers/MediaInfo/VideoImageProvider.cs index e0b23108f..95b915b3d 100644 --- a/MediaBrowser.Providers/MediaInfo/VideoImageProvider.cs +++ b/MediaBrowser.Providers/MediaInfo/VideoImageProvider.cs @@ -62,7 +62,11 @@ namespace MediaBrowser.Providers.MediaInfo { var protocol = item.PathProtocol ?? MediaProtocol.File; - var inputPath = MediaEncoderHelpers.GetInputArgument(_fileSystem, item.Path, null, item.GetPlayableStreamFileNames(_mediaEncoder)); + var inputPath = MediaEncoderHelpers.GetInputArgument( + _fileSystem, + item.Path, + null, + item.GetPlayableStreamFileNames()); var mediaStreams = item.GetMediaStreams(); |
