diff options
Diffstat (limited to 'web/script/player/profiles.ts')
-rw-r--r-- | web/script/player/profiles.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/script/player/profiles.ts b/web/script/player/profiles.ts index ad965f8..27c8474 100644 --- a/web/script/player/profiles.ts +++ b/web/script/player/profiles.ts @@ -44,6 +44,7 @@ export class ProfileSelector { const profs = this.profile_list_for_track(track) const sup_remux = await this.remux_supported(track); + if (!sup_remux && !profs.length) return this.player.logger?.log("None of the available codecs are supported. The Media can't be played back.") const min_prof = sup_remux ? -1 : 0 const co = profile.value?.order ?? min_prof // TODO use actual bitrate as a fallback. the server should supply it. |