@ -52,7 +52,7 @@ namespace MediaBrowser.MediaEncoding.Probing
. Where ( i = > i ! = null )
. ToList ( ) ;
if ( data . f ormat ! = null )
if ( data . F ormat ! = 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_t ype, "attachment" , StringComparison . OrdinalIgnoreCase ) )
if ( ! string . Equals ( streamInfo . CodecT ype, "attachment" , StringComparison . OrdinalIgnoreCase ) )
{
return null ;
}
var attachment = new MediaAttachment
{
Codec = streamInfo . codec_n ame,
Index = streamInfo . i ndex
Codec = streamInfo . CodecN ame,
Index = streamInfo . I ndex
} ;
if ( ! string . IsNullOrWhiteSpace ( streamInfo . codec_tag_s tring) )
if ( ! string . IsNullOrWhiteSpace ( streamInfo . CodecTagS tring) )
{
attachment . CodecTag = streamInfo . codec_tag_s tring;
attachment . CodecTag = streamInfo . CodecTagS tring;
}
if ( streamInfo . t ags ! = null )
if ( streamInfo . T ags ! = null )
{
attachment . FileName = GetDictionaryValue ( streamInfo . t ags, "filename" ) ;
attachment . MimeType = GetDictionaryValue ( streamInfo . t ags, "mimetype" ) ;
attachment . Comment = GetDictionaryValue ( streamInfo . t ags, "comment" ) ;
attachment . FileName = GetDictionaryValue ( streamInfo . T ags, "filename" ) ;
attachment . MimeType = GetDictionaryValue ( streamInfo . T ags, "mimetype" ) ;
attachment . Comment = GetDictionaryValue ( streamInfo . T ags, "comment" ) ;
}
return attachment ;