Skip to content

Commit

Permalink
vstrt/vs_tensorrt.cpp: always configure plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Feb 26, 2024
1 parent e73d171 commit 48f57da
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vstrt/vs_tensorrt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,12 @@ VS_EXTERNAL_API(void) VapourSynthPluginInit(
VSPlugin *plugin
) noexcept {

configFunc(
"io.github.amusementclub.vs_tensorrt", "trt",
"TensorRT ML Filter Runtime",
VAPOURSYNTH_API_VERSION, 1, plugin
);

// TRT 9 for windows does not export getInferLibVersion()
#if NV_TENSORRT_MAJOR == 9 && defined(_WIN32)
auto test = getPluginRegistry();
Expand All @@ -530,12 +536,6 @@ VS_EXTERNAL_API(void) VapourSynthPluginInit(

myself = plugin;

configFunc(
"io.github.amusementclub.vs_tensorrt", "trt",
"TensorRT ML Filter Runtime",
VAPOURSYNTH_API_VERSION, 1, plugin
);

registerFunc("Model",
"clips:clip[];"
"engine_path:data;"
Expand Down

0 comments on commit 48f57da

Please sign in to comment.