Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/LAVVideo/DecodeManager.cpp')
-rw-r--r--decoder/LAVVideo/DecodeManager.cpp10
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();
+}