Browse Source

fixes

pull/2832/head
Jason Dove 5 months ago
parent
commit
710a3998d8
No known key found for this signature in database
  1. 2
      CHANGELOG.md
  2. 10
      ErsatzTV/Pages/FFmpegEditor.razor

2
CHANGELOG.md

@ -20,7 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -20,7 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- If this feature turns out to be popular, methods to correct the drift may be investigated
- Add `ETV_INSTANCE_ID` environment variable to disambiguate EPG data from multiple ErsatzTV instances
- When set, the value will be used in channel identifiers before the final `.ersatztv.org`
- Sow warning message when selecting audio format `aac (latm)` for general streaming use when it is only intended for DVB-C
- Show warning message when selecting audio format `aac (latm)` for general streaming use when it is only intended for DVB-C
### Changed
- Move dark/light mode toggle to **Settings** > **UI**

10
ErsatzTV/Pages/FFmpegEditor.razor

@ -282,15 +282,7 @@ @@ -282,15 +282,7 @@
<div class="d-flex">
<MudText>Format</MudText>
</div>
@{
string helperText = string.Empty;
if (_model.AudioFormat is FFmpegProfileAudioFormat.AacLatm)
{
helperText = "aac (latm) is ONLY intended for DVB-C; anything else should use aac instead which uses ADTS";
}
}
<MudSelect @bind-Value="_model.AudioFormat" For="@(() => _model.AudioFormat)" HelperText="@helperText">
<MudSelectItem Value="@FFmpegProfileAudioFormat.Aac">aac</MudSelectItem>
<MudSelect @bind-Value="_model.AudioFormat" For="@(() => _model.AudioFormat)" HelperText="@(_model.AudioFormat is FFmpegProfileAudioFormat.AacLatm ? "aac (latm) is ONLY intended for DVB-C; anything else should use aac instead which uses ADTS" : string.Empty)"> <MudSelectItem Value="@FFmpegProfileAudioFormat.Aac">aac</MudSelectItem>
<MudSelectItem Value="@FFmpegProfileAudioFormat.Ac3">ac3</MudSelectItem>
<MudSelectItem Value="@FFmpegProfileAudioFormat.AacLatm">aac (latm)</MudSelectItem>
</MudSelect>

Loading…
Cancel
Save