diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-13 11:05:02 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-10-13 11:05:02 +0400 |
commit | 58b069c7dd6b5a05e3c0beb0ce68dc42fdef94ed (patch) | |
tree | d4532c3b18f3ab121a706e67a5b583fb187613c9 /decoder/LAVVideo | |
parent | 3f9d8da5f71f9cba526c3f8f10f0a1ad741a7263 (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.h | 4 | ||||
-rw-r--r-- | decoder/LAVVideo/decoders/ILAVDecoder.h | 7 |
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 |