Skip to content

Commit a25edf7

Browse files
committed
transcode: fixed show_log argument handling
1 parent dd387e4 commit a25edf7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/ffmpegio/transcode.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,9 @@ def test(a, is_list):
110110
"stdin": stdin,
111111
"stdout": stdout,
112112
"input": input,
113+
"capture_log": None if show_log else True,
113114
}
114115
)
115-
if show_log:
116-
kwargs["capture_log"] = True
117116
if two_pass:
118117
kwargs["pass1_omits"] = pass1_omits
119118
kwargs["pass1_extras"] = pass1_extras

0 commit comments

Comments
 (0)