summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcapture-pipeline4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture-pipeline b/capture-pipeline
index b0a1687..b239542 100755
--- a/capture-pipeline
+++ b/capture-pipeline
@@ -158,7 +158,7 @@ def audio_ffmpeg_command(sequence, shot, take, part):
if audio_start:
ffmpeg_command += [ "-ss", audio_start ]
- elif video_start:
+ elif video_start and audio_sync and video_sync:
video_start_seconds = timecode_seconds(video_start)
video_sync_seconds = timecode_seconds(video_sync)
audio_sync_seconds = timecode_seconds(audio_sync)
@@ -171,7 +171,7 @@ def audio_ffmpeg_command(sequence, shot, take, part):
if audio_stop:
ffmpeg_command += [ "-to", audio_stop ]
- elif video_stop:
+ elif video_stop and audio_sync and video_sync:
video_stop_seconds = timecode_seconds(video_stop)
video_sync_seconds = timecode_seconds(video_sync)
audio_sync_seconds = timecode_seconds(audio_sync)