mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
Merge pull request #170 from n9Mtq4/fix/outputname
Support output files in different folders
This commit is contained in:
commit
8e74f4de40
1 changed files with 2 additions and 2 deletions
|
@ -162,5 +162,5 @@ def outputs_filenames(args: Args):
|
|||
:param args: the Args
|
||||
"""
|
||||
suffix = '.mkv'
|
||||
args.output_file = Path(f'{args.output_file.stem}{suffix}') if args.output_file \
|
||||
args.output_file = Path(args.output_file).with_suffix(suffix) if args.output_file \
|
||||
else Path(f'{args.input.stem}_{args.encoder}{suffix}')
|
||||
|
|
Loading…
Reference in a new issue