diff options
| author | Bond_009 <bond.009@outlook.com> | 2023-02-01 14:58:04 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2023-02-01 14:58:04 +0100 |
| commit | 65d605b17dfc978ebc089b7500a5aacd8fcd863f (patch) | |
| tree | 45b9b6716ba7ff27b302e04925b2952005d510b3 /MediaBrowser.MediaEncoding/Probing/MediaStreamInfo.cs | |
| parent | 992b460912f3100f126bc4db0fe042fd4aefee7c (diff) | |
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.cs | 6 |
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. |
