summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski2022-10-28 21:03:12 +0200
committerPaul Kocialkowski2022-10-28 21:03:12 +0200
commit3b2aca59299233cdd06631b4660e6781ee61ba88 (patch)
treecec7dcd45bff10da9af16fc999ed6b7afced5534
parent3d06a49a0c9755d79e53312eb2478358b478e932 (diff)
capture-pipeline: Make audio sync mandatory
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-xcapture-pipeline6
1 files changed, 6 insertions, 0 deletions
diff --git a/capture-pipeline b/capture-pipeline
index e4f0d7d..44c532d 100755
--- a/capture-pipeline
+++ b/capture-pipeline
@@ -230,6 +230,12 @@ def audio_process(sequence, shot, take, part):
if not source_path or not output_path:
return
+ audio_sync = settings_item_entry(take, "audio-sync")
+ video_sync = settings_item_entry(take, "video-sync")
+
+ if not audio_sync or not video_sync:
+ return
+
print(" - audio-source: " + audio_source_name(sequence, shot, take))
print(" - audio-output: " + audio_output_name(sequence, shot, take, part))