list(filter
This commit is contained in:
parent
fd0772ebab
commit
1a489dc229
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ def video_cmd(video, target, profile, info):
|
||||||
n = 1
|
n = 1
|
||||||
# mix 2 mono channels into stereo(common for fcp dv mov files)
|
# mix 2 mono channels into stereo(common for fcp dv mov files)
|
||||||
if len(info['audio']) == 2 \
|
if len(info['audio']) == 2 \
|
||||||
and len(filter(None, [a['channels'] == 1 or None for a in info['audio']])) == 2:
|
and len(list(filter(None, [a['channels'] == 1 or None for a in info['audio']]))) == 2:
|
||||||
video_settings += [
|
video_settings += [
|
||||||
'-filter_complex',
|
'-filter_complex',
|
||||||
'[0:%s][0:%s] amerge' % (info['audio'][0]['id'], info['audio'][1]['id'])
|
'[0:%s][0:%s] amerge' % (info['audio'][0]['id'], info['audio'][1]['id'])
|
||||||
|
|
Loading…
Reference in a new issue