Skip to content

Commit 5513b71

Browse files
committed
Remove unused arg
1 parent 67ab549 commit 5513b71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

auto_editor/output.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def _ffset(option: str, value: str | None) -> list[str]:
9999
return [option] + [value]
100100

101101

102-
def video_quality(args: Args, ctr: Container) -> list[str]:
102+
def video_quality(args: Args) -> list[str]:
103103
return (
104104
_ffset("-b:v", args.video_bitrate)
105105
+ ["-c:v", args.video_codec]
@@ -174,7 +174,7 @@ def mux_quality_media(
174174
for is_video, path in visual_output:
175175
if is_video:
176176
if apply_v:
177-
cmd += video_quality(args, ctr)
177+
cmd += video_quality(args)
178178
else:
179179
# Real video is only allowed on track 0
180180
cmd += ["-c:v:0", "copy"]

auto_editor/render/video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def render_av(
205205
if apply_video_later:
206206
cmd += ["-c:v", "mpeg4", "-qscale:v", "1"]
207207
else:
208-
cmd += video_quality(args, ctr)
208+
cmd += video_quality(args)
209209

210210
# Setting SAR requires re-encoding so we do it here.
211211
if src is not None and src.videos and (sar := src.videos[0].sar) is not None:

0 commit comments

Comments
 (0)