aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Outputs.cpp1
-rw-r--r--src/odr-audioenc.cpp6
2 files changed, 5 insertions, 2 deletions
diff --git a/src/Outputs.cpp b/src/Outputs.cpp
index f258881..eadbc5e 100644
--- a/src/Outputs.cpp
+++ b/src/Outputs.cpp
@@ -195,7 +195,6 @@ bool EDI::write_frame(const uint8_t *buf, size_t len)
for (int32_t sub_ms = (m_delay_ms % 1000); sub_ms > 0; sub_ms -= 24) {
m_timestamp += 24 << 14; // Shift 24ms by 14 to Timestamp level 2
}
-
}
edi::TagStarPTR edi_tagStarPtr("DSTI");
diff --git a/src/odr-audioenc.cpp b/src/odr-audioenc.cpp
index c3d4cb6..f4cf01e 100644
--- a/src/odr-audioenc.cpp
+++ b/src/odr-audioenc.cpp
@@ -609,6 +609,10 @@ int AudioEnc::run()
}
}
+ if (not edi_output_uris.empty()) {
+ edi_output.set_tist(tist_enabled, tist_delay_ms);
+ }
+
if (padlen != 0) {
int flags;
if (mkfifo(pad_fifo, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH) != 0) {
@@ -1368,7 +1372,7 @@ int main(int argc, char *argv[])
int ch=0;
int index;
while(ch != -1) {
- ch = getopt_long(argc, argv, "aAhDlRVb:B:c:e:f:i:j:k:L:o:r:d:p:P:s:S:v:w:Wg:C:", longopts, &index);
+ ch = getopt_long(argc, argv, "aAhDlRVb:B:c:e:f:i:j:k:L:o:r:d:p:P:s:S:T:v:w:Wg:C:", longopts, &index);
switch (ch) {
case 0: // AAC-LC
audio_enc.aot = AOT_DABPLUS_AAC_LC;