Merge pull request #8480 from thornbill/revert-data-streams

This commit is contained in:
Cody Robibero 2022-10-01 08:52:39 -06:00 committed by GitHub
commit c9c91cc34e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
}
}