don't copy if we are forcing FR or Resolution. Fixes #513

This commit is contained in:
clinton-hall 2014-08-02 08:32:23 +09:30
commit dfb62a059f

View file

@ -159,6 +159,8 @@ def buildCommands(file, newDir):
scale = "-1:" + scale.split(':')[1]
if h_scale != 1:
video_cmd.extend(['-vf', 'scale=' + scale])
if ('-vf' in video_cmd or '-r' in video_cmd) and video_cmd[1] == 'copy':
video_cmd[1] = nzbtomedia.VCODEC
map_cmd.extend(['-map', '0:' + str(video["index"])])
break # Only one video needed