Merge pull request #3719 from nyanmisaka/dovi-meta

(cherry picked from commit 66b86044a9a71536499f4c61e2f1697560257906)
Signed-off-by: Bill Thornton <billt2006@gmail.com>
This commit is contained in:
Joshua M. Boniface 2022-06-26 20:55:44 -04:00 committed by Bill Thornton
parent 08c8907f5a
commit df6d9aaecb
3 changed files with 48 additions and 28 deletions

View file

@ -269,31 +269,10 @@ import ServerConnections from '../ServerConnections';
});
}
if (videoStream.VideoRange) {
if (videoStream.VideoRangeType) {
sessionStats.push({
label: globalize.translate('LabelVideoRange'),
value: videoStream.VideoRange
});
}
if (videoStream.ColorSpace) {
sessionStats.push({
label: globalize.translate('LabelColorSpace'),
value: videoStream.ColorSpace
});
}
if (videoStream.ColorTransfer) {
sessionStats.push({
label: globalize.translate('LabelColorTransfer'),
value: videoStream.ColorTransfer
});
}
if (videoStream.ColorPrimaries) {
sessionStats.push({
label: globalize.translate('LabelColorPrimaries'),
value: videoStream.ColorPrimaries
label: globalize.translate('LabelVideoRangeType'),
value: videoStream.VideoRangeType
});
}