Skip to content

Commit

Permalink
Consistent reported name
Browse files Browse the repository at this point in the history
  • Loading branch information
myrsloik committed Mar 31, 2024
1 parent 8e32a79 commit 0b2c4f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/avisynth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,5 +448,5 @@ extern "C" AVS_EXPORT const char *__stdcall AvisynthPluginInit3(IScriptEnvironme
Env->AddFunction("BSSetDebugOutput", "b[enable]", BSSetDebugOutput, nullptr);
Env->AddFunction("BSSetFFmpegLogLevel", "i[level]", BSSetFFmpegLogLevel, nullptr);

return "Best Source (BS)";
return "Best Source 2";
}
4 changes: 2 additions & 2 deletions src/vapoursynth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,11 +413,11 @@ static void VS_CC SetLogLevel(const VSMap *in, VSMap *out, void *, VSCore *, con
int level = vsapi->mapGetIntSaturated(in, "level", 0, &err);
if (err)
level = 32;
vsapi->mapSetInt(out, "level", SetFFmpegLogLevel(), maReplace);
vsapi->mapSetInt(out, "level", SetFFmpegLogLevel(level), maReplace);
}

VS_EXTERNAL_API(void) VapourSynthPluginInit2(VSPlugin *plugin, const VSPLUGINAPI *vspapi) {
vspapi->configPlugin("com.vapoursynth.bestsource", "bs", "Best Source", VS_MAKE_VERSION(BEST_SOURCE_VERSION_MAJOR, BEST_SOURCE_VERSION_MINOR), VS_MAKE_VERSION(VAPOURSYNTH_API_MAJOR, 0), 0, plugin);
vspapi->configPlugin("com.vapoursynth.bestsource", "bs", "Best Source 2", VS_MAKE_VERSION(BEST_SOURCE_VERSION_MAJOR, BEST_SOURCE_VERSION_MINOR), VS_MAKE_VERSION(VAPOURSYNTH_API_MAJOR, 0), 0, plugin);
vspapi->registerFunction("VideoSource", "source:data;track:int:opt;variableformat:int:opt;fpsnum:int:opt;fpsden:int:opt;rff:int:opt;threads:int:opt;seekpreroll:int:opt;enable_drefs:int:opt;use_absolute_path:int:opt;cachepath:data:opt;cachesize:int:opt;hwdevice:data:opt;extrahwframes:int:opt;timecodes:data:opt;showprogress:int:opt;", "clip:vnode;", CreateBestVideoSource, nullptr, plugin);
vspapi->registerFunction("AudioSource", "source:data;track:int:opt;adjustdelay:int:opt;threads:int:opt;enable_drefs:int:opt;use_absolute_path:int:opt;drc_scale:float:opt;cachepath:data:opt;cachesize:int:opt;showprogress:int:opt;", "clip:anode;", CreateBestAudioSource, nullptr, plugin);
vspapi->registerFunction("SetDebugOutput", "", "enable:int;", SetDebugOutput, nullptr, plugin);
Expand Down

0 comments on commit 0b2c4f3

Please sign in to comment.