Split ffprobe output on CRLF or LF.
This commit is contained in:
parent
b3bdb3b21d
commit
4dc5d901b6
|
@ -353,7 +353,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||
{
|
||||
var text = await reader.ReadToEndAsync().ConfigureAwait(false);
|
||||
|
||||
var lines = StringHelper.RegexSplit(text, "\r\n");
|
||||
var lines = StringHelper.RegexSplit(text, "[\r\n]+");
|
||||
foreach (var line in lines)
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(line))
|
||||
|
|
Loading…
Reference in New Issue
Block a user