mirror of
https://github.com/AnimeThemes/animethemes-batch-encoder.git
synced 2026-07-11 01:24:29 +02:00
Merge pull request #24 from Kyrch/main
fix: empty ffmpeg argument and update documentation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 paranarimasu
|
||||
Copyright (c) AnimeThemes
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -45,7 +45,7 @@ The configuration file in which our encoding properties are defined.
|
||||
|
||||
By default, the program will write to or read from `batch_encoder.ini` in the user config directory of appname `batch_encoder` and author `AnimeThemes`.
|
||||
|
||||
Example: `C:\Users\paranarimasu\AppData\Local\AnimeThemes\batch_encoder\batch_encoder.ini`
|
||||
Example: `C:\Users\Kyrch\AppData\Local\AnimeThemes\batch_encoder\batch_encoder.ini`
|
||||
|
||||
**Encoding Properties**
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ class EncodeWebM:
|
||||
if config_filter is not None:
|
||||
video_filters.append(config_filter)
|
||||
|
||||
if not video_filters:
|
||||
if not video_filters or len(video_filters[0].strip()) == 0:
|
||||
return ''
|
||||
|
||||
return ' -vf ' + ','.join(video_filters)
|
||||
|
||||
Reference in New Issue
Block a user