Skip to content

Commit

Permalink
Merge branches 'bugfixes' and 'vapoursynth' into feature
Browse files Browse the repository at this point in the history
  • Loading branch information
arch1t3cht committed Jul 16, 2024
3 parents cb930ab + 1e20306 + c49b604 commit 2a9bbc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Setup Meson
run: |
python -m pip install --upgrade pip setuptools
pip install meson
pip install meson==1.4.2
- name: Setup MSVC
if: matrix.config.os == 'windows-latest' && matrix.config.msvc == true
Expand Down
3 changes: 2 additions & 1 deletion automation/vapoursynth/aegisub_vs.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ def wrap_lwlibavsource(filename: str, cachedir: str | None = None, **kwargs: Any

ensure_plugin("lsmas", "libvslsmashsource", "To use Aegisub's LWLibavSource wrapper, the `lsmas` plugin for VapourSynth must be installed")

if b"-Dcachedir" not in core.lsmas.Version()["config"]: # type: ignore
import inspect
if "cachedir" not in inspect.getfullargspec(vs.core.lsmas.LWLibavSource).args:
raise vs.Error("To use Aegisub's LWLibavSource wrapper, the `lsmas` plugin must support the `cachedir` option for LWLibavSource.")

clip = core.lsmas.LWLibavSource(source=filename, cachefile=cachefile, **kwargs)
Expand Down

0 comments on commit 2a9bbc0

Please sign in to comment.