forked from 0x2620/pandora
only use melt if USE_MELT is set
This commit is contained in:
parent
9ebedeb664
commit
5b25411a60
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ def frame(video, frame, position, height=128, redo=False, info=None):
|
||||||
if settings.USE_MELT:
|
if settings.USE_MELT:
|
||||||
cmd = melt_frame_cmd(video, frame, position, height, info)
|
cmd = melt_frame_cmd(video, frame, position, height, info)
|
||||||
else:
|
else:
|
||||||
cmd = melt_frame_cmd(video, frame, position, height)
|
cmd = avconv_frame_cmd(video, frame, position, height)
|
||||||
else:
|
else:
|
||||||
cmd = ['oxframe', '-i', video, '-o', frame,
|
cmd = ['oxframe', '-i', video, '-o', frame,
|
||||||
'-p', str(position), '-y', str(height)]
|
'-p', str(position), '-y', str(height)]
|
||||||
|
|
Loading…
Reference in a new issue