mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
validate encoder presence
This commit is contained in:
@@ -392,9 +392,9 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
//_logger.Info("Supported decoders: {0}", string.Join(",", list.ToArray()));
|
||||
}
|
||||
|
||||
public bool SupportsEncoder(string decoder)
|
||||
public bool SupportsEncoder(string encoder)
|
||||
{
|
||||
return _encoders.Contains(decoder, StringComparer.OrdinalIgnoreCase);
|
||||
return _encoders.Contains(encoder, StringComparer.OrdinalIgnoreCase);
|
||||
}
|
||||
|
||||
public bool SupportsDecoder(string decoder)
|
||||
|
||||
Reference in New Issue
Block a user