Update MediaEncoder.cs

pull/2809/head
artiume 5 years ago committed by Vasily
parent 1ff95289ef
commit 407de0209e

@ -258,7 +258,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
//_logger.Info("Supported decoders: {0}", string.Join(",", list.ToArray())); //_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) public void SetAvailableHwaccels(IEnumerable<string> list)
{ {
_hwaccels = list.ToList(); _hwaccels = list.ToList();

Loading…
Cancel
Save