Update MediaEncoder.cs

This commit is contained in:
artiume 2020-05-25 18:01:00 -04:00 committed by Vasily
parent 1ff95289ef
commit 407de0209e

View File

@ -258,7 +258,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
//_logger.Info("Supported decoders: {0}", string.Join(",", list.ToArray()));
}
private List<string> _hwaccels = new List<string>();
private List<string> _hwaccels = Array.Empty<string>();
public void SetAvailableHwaccels(IEnumerable<string> list)
{
_hwaccels = list.ToList();