Skip to content

Commit

Permalink
fix: empty ffmpeg argument and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyrch committed Jun 16, 2023
1 parent dc597bd commit bbe3213
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**

Expand Down
2 changes: 1 addition & 1 deletion batch_encoder/_encode_webm.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def get_video_filters(config_filter=None):
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)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='animethemes-batch-encoder',
version='1.3',
version='1.3.1',
author='AnimeThemes',
author_email='admin@animethemes.moe',
url='https://github.com/AnimeThemes/animethemes-batch-encoder',
Expand Down

0 comments on commit bbe3213

Please sign in to comment.