Commit 2e6ad8b5 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

always add -no_delay_cmp for IVAS JBM

parent 5f75701f
Loading
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -346,13 +346,17 @@ class IVAS(Processing):
            rend_cfg_file = self.render_config_dir.joinpath(f"{rend_cfg_name}.wav.cfg")
            cmd.extend(["-render_config", rend_cfg_file])

        if self.dec_opts:
            cmd.extend(self.dec_opts)

        # add -voip cmdline option to the decoder
        if voip:
            cmd.extend(
                ["-voip", "-Tracefile", f"{str(out_file).split('.')[0]}.tracefile.csv"]
            )
        if self.dec_opts:
            cmd.extend(self.dec_opts)

        if voip and "-no_delay_cmp" not in cmd:
            cmd.extend(["-no_delay_cmp"])

        # use quiet mode
        cmd.extend(["-q"])