Skip to content

Commit

Permalink
v1.5.1, default pad to 0 and set both fade in/out times to 10ms (see #17
Browse files Browse the repository at this point in the history
)
  • Loading branch information
mmguero committed Aug 26, 2023
1 parent 76159b3 commit 711880c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = cleanvid
version = 1.5.0
version = 1.5.1
author = Seth Grover
author_email = [email protected]
description = cleanvid is a little script to mute profanity in video files.
Expand Down
2 changes: 1 addition & 1 deletion src/cleanvid/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""cleanvid is a little script to mute profanity in video files."""

__version__ = "1.5.0"
__version__ = "1.5.1"
__author__ = "Seth Grover <[email protected]>"
__all__ = []

Expand Down
4 changes: 2 additions & 2 deletions src/cleanvid/cleanvid.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def CreateCleanSubAndMuteList(self):
+ format(lineEnd, '.3f')
+ ")':t=out:st="
+ format(lineStart, '.3f')
+ ":d=30ms"
+ ":d=10ms"
)
self.muteTimeList.append(
"afade=enable='between(t,"
Expand Down Expand Up @@ -579,7 +579,7 @@ def RunCleanvid():
metavar='<language>',
)
parser.add_argument(
'-p', '--pad', help='pad (seconds) around profanity', metavar='<int>', dest="pad", type=int, default=1
'-p', '--pad', help='pad (seconds) around profanity', metavar='<int>', dest="pad", type=int, default=0
)
parser.add_argument(
'-e',
Expand Down

0 comments on commit 711880c

Please sign in to comment.