mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Remove duplicated property
This commit is contained in:
parent
787804c3a2
commit
c817381139
2 changed files with 0 additions and 4 deletions
|
@ -65,9 +65,6 @@ public class FFProbeStream : ITagsContainer, IDispositionContainer
|
||||||
[JsonPropertyName("r_frame_rate")]
|
[JsonPropertyName("r_frame_rate")]
|
||||||
public string FrameRate { get; set; } = null!;
|
public string FrameRate { get; set; } = null!;
|
||||||
|
|
||||||
[JsonPropertyName("avg_frame_rate")]
|
|
||||||
public string AverageFrameRate { get; set; } = null!;
|
|
||||||
|
|
||||||
[JsonPropertyName("pix_fmt")]
|
[JsonPropertyName("pix_fmt")]
|
||||||
public string PixelFormat { get; set; } = null!;
|
public string PixelFormat { get; set; } = null!;
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,6 @@ private VideoStream ParseVideoStream(FFProbeStream stream)
|
||||||
DisplayAspectRatio = MediaAnalysisUtils.ParseRatioInt(stream.DisplayAspectRatio, ':'),
|
DisplayAspectRatio = MediaAnalysisUtils.ParseRatioInt(stream.DisplayAspectRatio, ':'),
|
||||||
Duration = MediaAnalysisUtils.ParseDuration(stream),
|
Duration = MediaAnalysisUtils.ParseDuration(stream),
|
||||||
FrameRate = MediaAnalysisUtils.DivideRatio(MediaAnalysisUtils.ParseRatioDouble(stream.FrameRate, '/')),
|
FrameRate = MediaAnalysisUtils.DivideRatio(MediaAnalysisUtils.ParseRatioDouble(stream.FrameRate, '/')),
|
||||||
AverageFrameRate = MediaAnalysisUtils.DivideRatio(MediaAnalysisUtils.ParseRatioDouble(stream.AverageFrameRate, '/')),
|
|
||||||
Height = stream.Height ?? 0,
|
Height = stream.Height ?? 0,
|
||||||
Width = stream.Width ?? 0,
|
Width = stream.Width ?? 0,
|
||||||
Profile = stream.Profile,
|
Profile = stream.Profile,
|
||||||
|
|
Loading…
Reference in a new issue