forked from 0x2620/pandora
fix profile selection
This commit is contained in:
parent
5447aab0a1
commit
ff8dd16456
1 changed files with 2 additions and 2 deletions
|
@ -94,14 +94,14 @@ def stream(video, target, profile, info, audio_track=0, flags={}):
|
||||||
audioquality = 6
|
audioquality = 6
|
||||||
audiobitrate = None
|
audiobitrate = None
|
||||||
audiochannels = None
|
audiochannels = None
|
||||||
if profile == '720p':
|
elif 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