aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2021-09-03 06:56:45 -0600
committerCody Robibero <cody@robibe.ro>2021-09-03 06:56:45 -0600
commitec1341215518d8975acafdf6a59644e63ad81a1a (patch)
tree50806c436134adae258e2053e03cb0d09556e4de /MediaBrowser.Model/Entities
parentecb4b8e0aacef56331e7eadd1f82839b0f6e1e00 (diff)
parentb1e7cfd84c6007472f3b42d6aea360a02119925a (diff)
Merge remote-tracking branch 'upstream/master' into warn-259810
Diffstat (limited to 'MediaBrowser.Model/Entities')
-rw-r--r--MediaBrowser.Model/Entities/MediaStream.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Entities/MediaStream.cs b/MediaBrowser.Model/Entities/MediaStream.cs
index de9fe6ff63..38ac44794d 100644
--- a/MediaBrowser.Model/Entities/MediaStream.cs
+++ b/MediaBrowser.Model/Entities/MediaStream.cs
@@ -255,6 +255,11 @@ namespace MediaBrowser.Model.Entities
attributes.Add(string.IsNullOrEmpty(LocalizedForced) ? "Forced" : LocalizedForced);
}
+ if (!string.IsNullOrEmpty(Codec))
+ {
+ attributes.Add(Codec.ToUpperInvariant());
+ }
+
if (!string.IsNullOrEmpty(Title))
{
var result = new StringBuilder(Title);