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

vf_vapoursynth: add user-data parameter to allow user to pass arbitrary data to script #14312

Merged
merged 1 commit into from
Jun 8, 2024

Commits on Jun 8, 2024

  1. vf_vapoursynth: add parameter to pass arbitrary string to script

    Currently the vapoursynth video filter does not accept any argument for
    passing arbitrary user data. This limits what the VS script can do.
    
    Ideally, the vapoursynth filter has an user-data parameter that contain
    string value. mpv passes that value to the VS script just like
    container_fps and others. Once the VS script gets the data, it can do
    all sorts of data extraction and transformation.
    
    Another benefit is that instead of mpv always have to catch up to user
    needs for this filter, with this users can just pass whatever needed
    themselves, thus becomes more future-proof.
    
    Fixes mpv-player#14214
    CrendKing committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    fc60add View commit details
    Browse the repository at this point in the history