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:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-10-13 11:05:02 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2012-10-13 11:05:02 +0400
commit58b069c7dd6b5a05e3c0beb0ce68dc42fdef94ed (patch)
treed4532c3b18f3ab121a706e67a5b583fb187613c9 /decoder/LAVVideo
parent3f9d8da5f71f9cba526c3f8f10f0a1ad741a7263 (diff)
Don't export FilterInGraph to the decoder, calling it from the decode thread can lead to deadlocks.
Diffstat (limited to 'decoder/LAVVideo')
-rw-r--r--decoder/LAVVideo/decoders/DecBase.h4
-rw-r--r--decoder/LAVVideo/decoders/ILAVDecoder.h7
2 files changed, 0 insertions, 11 deletions
diff --git a/decoder/LAVVideo/decoders/DecBase.h b/decoder/LAVVideo/decoders/DecBase.h
index 79b78ca9..4b5d01b0 100644
--- a/decoder/LAVVideo/decoders/DecBase.h
+++ b/decoder/LAVVideo/decoders/DecBase.h
@@ -82,10 +82,6 @@ protected:
return m_pCallback->ReleaseFrame(ppFrame);
}
- inline BOOL FilterInGraph(PIN_DIRECTION dir, const GUID &clsid) {
- return m_pCallback->FilterInGraph(dir, clsid);
- }
-
protected:
ILAVVideoSettings *m_pSettings;
ILAVVideoCallback *m_pCallback;
diff --git a/decoder/LAVVideo/decoders/ILAVDecoder.h b/decoder/LAVVideo/decoders/ILAVDecoder.h
index de46acc7..80505944 100644
--- a/decoder/LAVVideo/decoders/ILAVDecoder.h
+++ b/decoder/LAVVideo/decoders/ILAVDecoder.h
@@ -198,13 +198,6 @@ interface ILAVVideoCallback
STDMETHOD_(LPWSTR, GetFileExtension)() PURE;
/**
- * Check wether a filter matching the clsid is in the graph
- *
- * @result TRUE if the filter was found, false otherwise
- */
- STDMETHOD_(BOOL, FilterInGraph)(PIN_DIRECTION dir, const GUID &clsid) PURE;
-
- /**
* Get Decode Flags
*
* @return flags