mirror of
https://github.com/c0decracker/video-splitter.git
synced 2026-01-23 02:24:16 +00:00
returning keyword arguments support
This commit is contained in:
parent
80880cd65e
commit
b3d38d964e
1 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ from optparse import OptionParser
|
|||
|
||||
|
||||
def split_by_manifest(filename, manifest, vcodec="copy", acodec="copy",
|
||||
extra=""):
|
||||
extra="", **kwargs):
|
||||
""" Split video into segments based on the given manifest file.
|
||||
|
||||
Arguments:
|
||||
|
|
@ -88,7 +88,7 @@ def ceildiv(a, b):
|
|||
|
||||
|
||||
def split_by_seconds(filename, split_length, vcodec="copy", acodec="copy",
|
||||
extra="", video_length=None):
|
||||
extra="", video_length=None, **kwargs):
|
||||
if split_length and split_length <= 0:
|
||||
print("Split length can't be 0")
|
||||
raise SystemExit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue