Add more to media info display
This commit is contained in:
parent
51bc4edbb0
commit
4dc1eb59c0
|
@ -280,6 +280,7 @@ namespace MediaBrowser.Controller.Providers.MediaInfo
|
||||||
|
|
||||||
stream.Width = streamInfo.width;
|
stream.Width = streamInfo.width;
|
||||||
stream.Height = streamInfo.height;
|
stream.Height = streamInfo.height;
|
||||||
|
stream.PixelFormat = streamInfo.pix_fmt;
|
||||||
stream.AspectRatio = streamInfo.display_aspect_ratio;
|
stream.AspectRatio = streamInfo.display_aspect_ratio;
|
||||||
|
|
||||||
stream.AverageFrameRate = GetFrameRate(streamInfo.avg_frame_rate);
|
stream.AverageFrameRate = GetFrameRate(streamInfo.avg_frame_rate);
|
||||||
|
|
|
@ -140,6 +140,13 @@ namespace MediaBrowser.Model.Entities
|
||||||
/// <value>The level.</value>
|
/// <value>The level.</value>
|
||||||
[ProtoMember(19)]
|
[ProtoMember(19)]
|
||||||
public double? Level { get; set; }
|
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>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user