diff options
Diffstat (limited to 'loader/dshow/DS_Filter.h')
-rw-r--r-- | loader/dshow/DS_Filter.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/loader/dshow/DS_Filter.h b/loader/dshow/DS_Filter.h index c4aab0d12c..61ddb938fe 100644 --- a/loader/dshow/DS_Filter.h +++ b/loader/dshow/DS_Filter.h @@ -5,18 +5,16 @@ #include "inputpin.h" #include "outputpin.h" #include <string> -using namespace std; + /** User will allocate and fill format structures, call Create(), and then set up m_pAll. **/ class DS_Filter { -protected: public: DS_Filter(); virtual ~DS_Filter(); - void Create(char* dllname, const GUID* id, AM_MEDIA_TYPE* in_fmt, AM_MEDIA_TYPE* out_fmt); void Start(); void Stop(); int m_iHandle; @@ -33,8 +31,11 @@ public: IMemAllocator* m_pAll; IMemInputPin* m_pImp; int m_iState; -protected: -}; -#endif + void Create(char* dllname, const GUID* id, AM_MEDIA_TYPE* in_fmt, AM_MEDIA_TYPE* out_fmt); + void SetPointer(char* pointer); +private: + void clean(); +}; +#endif |