Skip to content

Commit

Permalink
Only warn for pssh selection when more than one
Browse files Browse the repository at this point in the history
  • Loading branch information
robwalch authored Jan 10, 2025
1 parent d602e36 commit 65390dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/eme-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ class EMEController extends Logger implements ComponentAPI {
keySystemIdToKeySystemDomain(pssh.systemId) === keySystem,
);

if (psshInfos.length) {
if (psshInfos.length > 1) {
this.warn(
`${logMessage} Using first of ${psshInfos.length} pssh found for selected key-system ${keySystem}`,
);
Expand Down

0 comments on commit 65390dc

Please sign in to comment.