Skip to content

Commit

Permalink
Allow querying of the IAMFilterMiscFlags interface
Browse files Browse the repository at this point in the history
  • Loading branch information
jp9000 committed Sep 16, 2014
1 parent fa3429f commit ed8a37b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions DShowPlugin/CaptureFilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,12 @@ STDMETHODIMP CaptureFilter::QueryInterface(REFIID riid, void **ppv)
*ppv = (IBaseFilter*)this;
return NOERROR;
}
else if (riid == IID_IAMFilterMiscFlags)
{
flags->AddRef();
*ppv = flags;
return NOERROR;
}
else
{
*ppv = NULL;
Expand Down

0 comments on commit ed8a37b

Please sign in to comment.