Revert "Merge pull request #8298 from lomion0815/fix-data-stream"

This reverts commit 848ea703bc, reversing
changes made to af87706379.
This commit is contained in:
Bill Thornton 2022-10-01 00:56:46 -04:00
parent a26cded0f5
commit 774b4a0d3f
2 changed files with 1 additions and 11 deletions

View File

@ -863,13 +863,8 @@ namespace MediaBrowser.MediaEncoding.Probing
}
}
}
else if (string.Equals(streamInfo.CodecType, "data", StringComparison.OrdinalIgnoreCase))
{
stream.Type = MediaStreamType.Data;
}
else
{
_logger.LogError("Codec Type {CodecType} unknown. The stream (index: {Index}) will be ignored. Warning: Subsequential streams will have a wrong stream specifier!", streamInfo.CodecType, streamInfo.Index);
return null;
}

View File

@ -23,11 +23,6 @@ namespace MediaBrowser.Model.Entities
/// <summary>
/// The embedded image.
/// </summary>
EmbeddedImage,
/// <summary>
/// The data.
/// </summary>
Data
EmbeddedImage
}
}