diff --git a/pandora_client/extract.py b/pandora_client/extract.py index 0ab4ddd..6f1fbfe 100644 --- a/pandora_client/extract.py +++ b/pandora_client/extract.py @@ -164,6 +164,9 @@ def video_cmd(video, target, profile, info): audiochannels = 1 if info['video'] and 'display_aspect_ratio' in info['video'][0]: + # dont make video bigger + height = min(height, info['video'][0]['height']) + dar = AspectRatio(info['video'][0]['display_aspect_ratio']) if info['video'][0]['framerate'] == '0:0': fps = 25