aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-01-08 18:13:11 +0100
committerBond-009 <bond.009@outlook.com>2020-01-08 18:13:11 +0100
commit277e9d2b0b9859aa374ed4c4add10f3c46dbdfd2 (patch)
tree94ef951ab1ea4f1dbc9fcaffd21764873592110e /MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
parentc3752b1a3080f6f54c77a436c7d0b309792b8872 (diff)
fix build
Diffstat (limited to 'MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs')
-rw-r--r--MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
index 37baef5b0..bd89c6cae 100644
--- a/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
+++ b/MediaBrowser.MediaEncoding/Probing/ProbeResultNormalizer.cs
@@ -52,7 +52,7 @@ namespace MediaBrowser.MediaEncoding.Probing
.Where(i => i != null)
.ToList();
- if (data.format != null)
+ if (data.Format != null)
{
info.Container = NormalizeFormat(data.Format.FormatName);
@@ -523,27 +523,27 @@ namespace MediaBrowser.MediaEncoding.Probing
/// <returns>MediaAttachments.</returns>
private MediaAttachment GetMediaAttachment(MediaStreamInfo streamInfo)
{
- if (!string.Equals(streamInfo.codec_type, "attachment", StringComparison.OrdinalIgnoreCase))
+ if (!string.Equals(streamInfo.CodecType, "attachment", StringComparison.OrdinalIgnoreCase))
{
return null;
}
var attachment = new MediaAttachment
{
- Codec = streamInfo.codec_name,
- Index = streamInfo.index
+ Codec = streamInfo.CodecName,
+ Index = streamInfo.Index
};
- if (!string.IsNullOrWhiteSpace(streamInfo.codec_tag_string))
+ if (!string.IsNullOrWhiteSpace(streamInfo.CodecTagString))
{
- attachment.CodecTag = streamInfo.codec_tag_string;
+ attachment.CodecTag = streamInfo.CodecTagString;
}
- if (streamInfo.tags != null)
+ if (streamInfo.Tags != null)
{
- attachment.FileName = GetDictionaryValue(streamInfo.tags, "filename");
- attachment.MimeType = GetDictionaryValue(streamInfo.tags, "mimetype");
- attachment.Comment = GetDictionaryValue(streamInfo.tags, "comment");
+ attachment.FileName = GetDictionaryValue(streamInfo.Tags, "filename");
+ attachment.MimeType = GetDictionaryValue(streamInfo.Tags, "mimetype");
+ attachment.Comment = GetDictionaryValue(streamInfo.Tags, "comment");
}
return attachment;