Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Avisynth compilation and update headers #161

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Commits on Jul 3, 2022

  1. meson: Fix compliation with avisynth enabled

    Still crashes when loading a video.
    arch1t3cht committed Jul 3, 2022
    Configuration menu
    Copy the full SHA
    fdcb0ee View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. avisynth: Update headers and fix playback

    - Build the latest AviSynth headers using CMake, as proposed in #134
    - Add and initialize AVS_Linkage to fix video loading
    
    Video and audio playback now works in most cases, but still crashes for
    some files.
    arch1t3cht committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    e240a5f View commit details
    Browse the repository at this point in the history
  2. meson: Add files in manifest as respack.py input

    This makes meson detect changes to files like default_config.json
    and rebuild libresrc.cpp when necessary.
    arch1t3cht committed Jul 4, 2022
    Configuration menu
    Copy the full SHA
    635503a View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2022

  1. avisynth: Remove option to allow ancient versions

    - This refers to AviSynth < 2.5.6, which is from before 2005
    - With the current setup (using GetAVSLinkage, these versions wouldn't
      work anyway)
    - The latest AviSynthPlus is bundled with the installer anyway
    arch1t3cht committed Jul 5, 2022
    Configuration menu
    Copy the full SHA
    e644227 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    21591b3 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2022

  1. Configuration menu
    Copy the full SHA
    691ab82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2a49b3 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2022

  1. avisynth: Allow compilation on Linux

    Co-authored-by: wangqr <[email protected]>
    arch1t3cht and wangqr committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    fe28567 View commit details
    Browse the repository at this point in the history
  2. avisynth: Validate downmix option

    Because... let's maybe not let users make Aegisub call arbitrary
    symbols in avisynth.dll/so just by editing the config.json.
    arch1t3cht committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    ce1b3a0 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2022

  1. avisynth: Properly destruct the IScriptEnvironment

    Starting with AVISYNTH_INTERFACE_VERSION=5, this is how script
    environments should be deleted. The previous code was causing crashes
    when unloading AviSynth in certain scenarios, such as when failing to
    open a file due to an incorrect path.
    arch1t3cht committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    ad443dd View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. avisynth: Check if file exists before creating provider

    Since FileNotFound exceptions don't abort the provider search, opening
    an invalid path would show errors such as "avisynth not found" when
    Avisynth wasn't installed, even if Avisynth wasn't selected as the video
    provider.
    arch1t3cht committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    fe77a1a View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2023

  1. avisynth: Only increase refcount when fully initialized

    When Avisynth is not installed or not functional, this would otherwise
    cause a crash when trying to initialize Avisynth more than once, since
    after the first time the refcount would have been incrased anyway.
    arch1t3cht committed Jan 13, 2023
    Configuration menu
    Copy the full SHA
    f5a730f View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. avisynth: Remove file access checks

    These are broken in some edge cases, such as smb mounts on Windows.
    Paired with d96fc1f.
    arch1t3cht committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    6704a8e View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. Configuration menu
    Copy the full SHA
    a9eed18 View commit details
    Browse the repository at this point in the history
  2. avisynth: Decrease refcount again when constructor fails

    Proper fix to the issue that f5a730f
    was trying to fix.
    
    Fixes #61 .
    arch1t3cht committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    858f4ac View commit details
    Browse the repository at this point in the history