aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2023-02-02 13:05:02 +0100
committerGitHub <noreply@github.com>2023-02-02 13:05:02 +0100
commit9e155eacea11f959a2531a04fc9089be92e65def (patch)
tree302ee5bf7d4f5d6818f07b7a6cfdfde5f7890bb6 /MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs
parentfe48c47e292a531c82120d083984620ce011a480 (diff)
parent65d605b17dfc978ebc089b7500a5aacd8fcd863f (diff)
Merge pull request #9227 from Bond-009/ffprobe
Improve ffprobe json parsing and don't log error for Codec Type attachment
Diffstat (limited to 'MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs')
-rw-r--r--MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs b/MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs
index eab8f79bb..294442324 100644
--- a/MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs
+++ b/MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs
@@ -43,7 +43,7 @@ namespace MediaBrowser.MediaEncoding.Probing
/// </summary>
/// <value>The codec_type.</value>
[JsonPropertyName("codec_type")]
- public string CodecType { get; set; }
+ public CodecType CodecType { get; set; }
/// <summary>
/// Gets or sets the sample_rate.
@@ -228,11 +228,11 @@ namespace MediaBrowser.MediaEncoding.Probing
public long StartPts { get; set; }
/// <summary>
- /// Gets or sets the is_avc.
+ /// Gets or sets a value indicating whether the stream is AVC.
/// </summary>
/// <value>The is_avc.</value>
[JsonPropertyName("is_avc")]
- public string IsAvc { get; set; }
+ public bool IsAvc { get; set; }
/// <summary>
/// Gets or sets the nal_length_size.