fix profile selection
This commit is contained in:
parent
4b6c771f81
commit
f3bcfebf25
1 changed files with 2 additions and 3 deletions
|
@ -101,15 +101,14 @@ def video_cmd(video, target, profile, info):
|
||||||
audioquality = 6
|
audioquality = 6
|
||||||
audiobitrate = None
|
audiobitrate = None
|
||||||
audiochannels = None
|
audiochannels = None
|
||||||
|
elif profile == '720p':
|
||||||
if profile == '720p':
|
|
||||||
height = 720
|
height = 720
|
||||||
|
|
||||||
audiorate = 48000
|
audiorate = 48000
|
||||||
audioquality = 5
|
audioquality = 5
|
||||||
audiobitrate = None
|
audiobitrate = None
|
||||||
audiochannels = None
|
audiochannels = None
|
||||||
if profile == '480p':
|
elif profile == '480p':
|
||||||
height = 480
|
height = 480
|
||||||
|
|
||||||
audiorate = 44100
|
audiorate = 44100
|
||||||
|
|
Loading…
Reference in a new issue