mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-11 08:36:49 +00:00
Skip only line saying "Hardware acceleration methods:" instead of some random one
This commit is contained in:
1 parent
3e381cfd5e
commit
aa17a53e83
1 file changed
+1
-4
@@ -261,10 +261,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
return Enumerable.Empty<string>();
|
||||
}
|
||||
|
||||
var found = output.Split(new char[] {'\r','\n'}, StringSplitOptions.RemoveEmptyEntries).Distinct().ToList();
|
||||
|
||||
found.RemoveAt(0);
|
||||
|
||||
var found = output.Split(new char[] {'\r','\n'}, StringSplitOptions.RemoveEmptyEntries).Skip(1).Distinct().ToList();
|
||||
_logger.LogInformation("Available hwaccel types: {Types}", found);
|
||||
|
||||
return found;
|
||||
|
||||
Reference in new issue
Block a user