Skip to content

Commit f7b7d80

Browse files
committed
util: Remove source function
Use vsmuxtools or vssource instead.
1 parent 3242589 commit f7b7d80

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

vodesfunc/util.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,14 @@
11
from vstools import vs, core, KwargsT
22

33
from functools import partial
4-
from vsmuxtools import PathLike, ensure_path_exists, src as vmt_src
54

65

76
__all__: list[str] = [
87
"set_output",
98
"out",
10-
"src",
11-
"source",
129
]
1310

1411

15-
def src(filePath: PathLike, force_lsmas: bool = False, delete_dgi_log: bool = True, **kwargs) -> vs.VideoNode:
16-
"""
17-
Used dgindex as Source and requires dgindexnv in path to generate files if they don't exist.\n
18-
Now deprecated in favour of the vsmuxtools implementation.
19-
20-
:param filepath: Path to video or dgi file
21-
:param force_lsmas: Skip dgsource entirely and use lsmas
22-
:param delete_dgi_log: Delete the .log files dgindexnv creates
23-
:return: Video Node
24-
"""
25-
print("vodesfunc.src is deprecated and currently only calls vsmuxtools.src!")
26-
print("It might get removed in the next update or two.")
27-
return vmt_src(ensure_path_exists(filePath, src), force_lsmas, **kwargs)
28-
29-
3012
def set_output(
3113
clip: vs.VideoNode, name: str | None = None, frame_info: bool = False, allow_comp: bool = True, cache: bool | None = None, **kwargs: KwargsT
3214
) -> vs.VideoNode:
@@ -71,4 +53,3 @@ def FrameProps(n: int, f: vs.VideoFrame, clip: vs.VideoNode) -> vs.VideoNode:
7153

7254

7355
out = set_output
74-
source = src

0 commit comments

Comments
 (0)