1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

implement dlna headers

This commit is contained in:
Luke Pulverenti 2014-03-25 01:25:03 -04:00
parent a8b841ba59
commit de95c07529
2 changed files with 4 additions and 8 deletions

View file

@ -1075,14 +1075,11 @@
attributes.push(createAttribute("Language", stream.Language));
}
if (stream.Codec && stream.Codec != "dca") {
if (stream.Codec) {
attributes.push(createAttribute("Codec", stream.Codec.toUpperCase()));
}
if (stream.Profile && stream.Codec == "dca") {
attributes.push(createAttribute("Codec", stream.Profile.toUpperCase()));
}
else if (stream.Profile) {
if (stream.Profile) {
attributes.push(createAttribute("Profile", stream.Profile));
}