From 998df179a8e49d6cbb73f0ace2237a2a8a34738a Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 10 Feb 2021 09:42:25 -0500 Subject: [PATCH] Merge pull request #2350 from nyanmisaka/nvdec-vpp (cherry picked from commit f7f0d688e8ae772e9c42cd8cad5f80d8226f4fb6) Signed-off-by: Joshua M. Boniface --- src/components/playerstats/playerstats.js | 13 +++++---- .../dashboard/encodingsettings.html | 14 ++++++++++ src/controllers/dashboard/encodingsettings.js | 27 +++++++++++++++++++ src/strings/en-us.json | 5 +++- src/strings/zh-cn.json | 19 ++++++++++++- 5 files changed, 69 insertions(+), 9 deletions(-) diff --git a/src/components/playerstats/playerstats.js b/src/components/playerstats/playerstats.js index 106ca0a7cd..805f0115ce 100644 --- a/src/components/playerstats/playerstats.js +++ b/src/components/playerstats/playerstats.js @@ -142,14 +142,13 @@ import ServerConnections from '../ServerConnections'; }); } - if (audioChannels) { - sessionStats.push({ - label: globalize.translate('LabelAudioChannels'), - value: audioChannels - }); - } - if (displayPlayMethod === 'Transcode') { + if (audioChannels) { + sessionStats.push({ + label: globalize.translate('LabelAudioChannels'), + value: audioChannels + }); + } if (totalBitrate) { sessionStats.push({ label: globalize.translate('LabelBitrate'), diff --git a/src/controllers/dashboard/encodingsettings.html b/src/controllers/dashboard/encodingsettings.html index 4c7b8c3a57..aa5d030746 100644 --- a/src/controllers/dashboard/encodingsettings.html +++ b/src/controllers/dashboard/encodingsettings.html @@ -84,6 +84,13 @@ +
+ +
+
+
+ +
${AllowVppTonemappingHelp}
+