summaryrefslogtreecommitdiff
path: root/capture-pipeline
diff options
context:
space:
mode:
Diffstat (limited to 'capture-pipeline')
-rwxr-xr-xcapture-pipeline16
1 files changed, 6 insertions, 10 deletions
diff --git a/capture-pipeline b/capture-pipeline
index bda7bea..5a2356b 100755
--- a/capture-pipeline
+++ b/capture-pipeline
@@ -458,17 +458,11 @@ def video_process(sequence, shot, take, part):
# media
-def media_register(sequence, shot, take, part = None):
- if not part:
- part = {}
-
+def media_register(sequence, shot, take, part):
audio_register(sequence, shot, take, part)
video_register(sequence, shot, take, part)
-def media_process(sequence, shot, take, part = None):
- if not part:
- part = {}
-
+def media_process(sequence, shot, take, part):
audio_process(sequence, shot, take, part)
video_process(sequence, shot, take, part)
@@ -479,7 +473,8 @@ def take_register(sequence, shot, take):
for part in take["parts"]:
media_register(sequence, shot, take, part)
else:
- media_register(sequence, shot, take)
+ part = {}
+ media_register(sequence, shot, take, part)
def take_process(sequence, shot, take):
print(" - source: " + video_source_name(sequence, shot, take))
@@ -490,7 +485,8 @@ def take_process(sequence, shot, take):
media_process(sequence, shot, take, part)
else:
print(" - output: " + video_output_name(sequence, shot, take))
- media_process(sequence, shot, take)
+ part = {}
+ media_process(sequence, shot, take, part)
# shot