remove audio special case

This commit is contained in:
j 2026-02-03 18:15:45 +01:00
commit 12c27dbb48

View file

@ -573,20 +573,6 @@ def render_all(options):
if needs_update(timeline, out):
subprocess.call(cmd)
shutil.move(tmp_out, out)
if ext == '.wav' and timeline.endswith('audio.kdenlive'):
cmd = [
'ffmpeg', '-y',
'-nostats', '-loglevel', 'error',
'-i',
timeline.replace('.kdenlive', ext),
timeline.replace('.kdenlive', '.mp4')
]
wav = timeline.replace('.kdenlive', ext)
mp4 = timeline.replace('.kdenlive', '.mp4')
if needs_update(wav, mp4):
subprocess.call(cmd)
if not options.get("keep_parts"):
os.unlink(wav)
cmds = []
fragment_prefix = Path(fragment_prefix)