Add more to media info display

This commit is contained in:
Luke Pulverenti 2013-04-09 15:38:19 -04:00
parent 51bc4edbb0
commit 4dc1eb59c0
2 changed files with 8 additions and 0 deletions

View File

@ -280,6 +280,7 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
stream.Width = streamInfo.width;
stream.Height = streamInfo.height;
stream.PixelFormat = streamInfo.pix_fmt;
stream.AspectRatio = streamInfo.display_aspect_ratio;
stream.AverageFrameRate = GetFrameRate(streamInfo.avg_frame_rate);

View File

@ -140,6 +140,13 @@ namespace MediaBrowser.Model.Entities
/// <value>The level.</value>
[ProtoMember(19)]
public double? Level { get; set; }
/// <summary>
/// Gets or sets the pixel format.
/// </summary>
/// <value>The pixel format.</value>
[ProtoMember(20)]
public string PixelFormat { get; set; }
}
/// <summary>