add warning when clip has no audio
This commit is contained in:
parent
0cbad7bb08
commit
31b08d186d
@ -791,6 +791,7 @@ def add_audio(probe, duration):
|
||||
line = []
|
||||
|
||||
if not probe.audio:
|
||||
logger.warning('Clip has no audio!')
|
||||
line = [
|
||||
'aevalsrc=0:channel_layout=2:duration={}:sample_rate={}'.format(
|
||||
duration, 48000)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user