fix(ffmpeg_handling): add parser to parser_add_loglevel function
This commit is contained in:
1 parent
f55b671ba3
commit
3470e24c82
1 file changed
+1
-2
@@ -1164,7 +1164,6 @@ def cmd_test(args):
|
|||||||
test_dir = Path(tempfile.mkdtemp(prefix="ffmpeg_test_"))
|
test_dir = Path(tempfile.mkdtemp(prefix="ffmpeg_test_"))
|
||||||
logger.info(f"Using test dir: {test_dir}")
|
logger.info(f"Using test dir: {test_dir}")
|
||||||
|
|
||||||
|
|
||||||
def run_and_probe(name, cmd_func, args_probe, _test_dict=None):
|
def run_and_probe(name, cmd_func, args_probe, _test_dict=None):
|
||||||
if _test_dict is None:
|
if _test_dict is None:
|
||||||
_test_dict = []
|
_test_dict = []
|
||||||
@@ -1821,7 +1820,7 @@ def main():
|
|||||||
"-r", "--recursive", action="store_true", help="Process recursively"
|
"-r", "--recursive", action="store_true", help="Process recursively"
|
||||||
)
|
)
|
||||||
|
|
||||||
parser_add_loglevel()
|
parser_add_loglevel(parser)
|
||||||
|
|
||||||
base_p.add_argument(
|
base_p.add_argument(
|
||||||
"--dry-run",
|
"--dry-run",
|
||||||
|
|||||||
Reference in new issue
Block a user