Skip to content

Commit

Permalink
Fix README broken link to api.h
Browse files Browse the repository at this point in the history
  • Loading branch information
CrendKing committed Jun 14, 2021
1 parent c38911d commit b8d1f6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ This variable does not exist at the entry of the script. Upon return, if this va

Since version 0.6.0, these filters allow other programs to remotely control it via API. By default the functionality is disabled and can be activated from settings (requires restarting the video player after changing).

For details of the API, please refer to the comments in source file [api.h](https://github.com/CrendKing/avisynth_filter/blob/master/avisynth_filter/src/api.h).
For details of the API, please refer to the comments in source file [api.h](https://github.com/CrendKing/avisynth_filter/blob/master/filter_common/src/api.h).

## Example scripts

Expand Down
2 changes: 0 additions & 2 deletions filter_common/src/filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ auto CSynthFilter::CheckInputType(const CMediaType *mtIn) -> HRESULT {
});
Environment::GetInstance().Log(L"Pre pin connection CheckInputType(): input %s result %i", optInputPixelFormat->name, result);
} else {
ASSERT(*mtIn != m_pInput->CurrentMediaType());

result = std::ranges::any_of(InputToOutputMediaType(mtIn), [this](const CMediaType &newOutputMediaType) -> bool {
return m_pOutput->GetConnected()->QueryAccept(&newOutputMediaType) == S_OK;
});
Expand Down

0 comments on commit b8d1f6f

Please sign in to comment.