diff options
Diffstat (limited to 'decoder/LAVVideo/DecodeManager.cpp')
-rw-r--r-- | decoder/LAVVideo/DecodeManager.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/decoder/LAVVideo/DecodeManager.cpp b/decoder/LAVVideo/DecodeManager.cpp index 4ea51b0b..1178742e 100644 --- a/decoder/LAVVideo/DecodeManager.cpp +++ b/decoder/LAVVideo/DecodeManager.cpp @@ -237,3 +237,13 @@ STDMETHODIMP CDecodeManager::PostConnect(IPin *pPin) } return hr; } + +STDMETHODIMP CDecodeManager::BreakConnect() +{ + CAutoLock decoderLock(this); + + if (!m_pDecoder) + return E_UNEXPECTED; + + return m_pDecoder->BreakConnect(); +} |