summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/flufigut.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flufigut.py b/src/flufigut.py
index 619fbec..4634ccc 100755
--- a/src/flufigut.py
+++ b/src/flufigut.py
@@ -195,7 +195,7 @@ if output_format == 'flumotion':
feeder = 'input-%s' % (mux[mux_name]['audio'])
audio_encoder = 'encode-%s-%s-%i-%i' % (source, encoder, bitrate, samplerate)
if audio_encoder not in flow['encoder_audio']:
- worker_name = 'encoder-%s-%s' % (source, encoder)
+ worker_name = 'encoder-%s-%s-%s' % (source, encoder, bitrate)
if worker_name not in worker:
worker[worker_name] = -1
else:
@@ -223,7 +223,7 @@ if output_format == 'flumotion':
feeder = 'input-%s' % (mux[mux_name]['video'])
video_encoder = 'encode-%s-%s-%s' % (source, encoder, resolution)
if video_encoder not in flow['encoder_video'].keys():
- worker_name = 'encoder-%s-%s' % (source, encoder)
+ worker_name = 'encoder-%s-%s-%s' % (source, encoder, resolution)
if worker_name not in worker:
worker[worker_name] = -1
else:
@@ -239,7 +239,7 @@ if output_format == 'flumotion':
}
muxer = globals['formats'][format]['muxer']
- worker_name = 'muxer-%s-%s' % (mux_name, format)
+ worker_name = 'muxer-%s-%s-%s' % (mux_name, format, profile)
if worker_name not in worker:
worker[worker_name] = -1
else: