summaryrefslogtreecommitdiffstats
path: root/src/DabMux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r--src/DabMux.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index 2de18b9..6f826c0 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -576,7 +576,13 @@ int main(int argc, char *argv[])
}
(*subchannel)->bitrate = result;
- // Use EEP unless we find a UEP configuration
+ /* Use EEP unless we find a UEP configuration
+ * UEP is only used for MPEG audio, but some bitrates don't
+ * have a UEP profile (EN 300 401 Clause 6.2.1).
+ * For these bitrates, we must switch to EEP.
+ *
+ * AAC audio and data is already EEP
+ */
if (protection->form == UEP) {
protection->form = EEP;
for (int i = 0; i < 64; i++) {