Last change
on this file was 1166, checked in by rossy, 3 years ago |
Daodan: Replace MinGW build env with an up-to-date MSYS2 env
|
File size:
933 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
3 | * This file is part of the mingw-w64 runtime package.
|
---|
4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
5 | */
|
---|
6 | #ifndef _MSPTRMVC_H_
|
---|
7 | #define _MSPTRMVC_H_
|
---|
8 |
|
---|
9 | class CVideoCaptureTerminal : public CSingleFilterStaticTerminal {
|
---|
10 | public:
|
---|
11 | CVideoCaptureTerminal();
|
---|
12 | virtual ~CVideoCaptureTerminal();
|
---|
13 | public:
|
---|
14 | static HRESULT CreateTerminal(CComPtr<IMoniker> pMoniker,MSP_HANDLE htAddress,ITTerminal **ppTerm);
|
---|
15 | DECLARE_LOG_ADDREF_RELEASE(CVideoCaptureTerminal);
|
---|
16 | private:
|
---|
17 | virtual HRESULT AddFiltersToGraph();
|
---|
18 | virtual LONG CountOfMediaTypes() { return 1; }
|
---|
19 | virtual DWORD GetSupportedMediaTypes(void) { return (DWORD) TAPIMEDIATYPE_VIDEO; }
|
---|
20 | HRESULT CreateFilters();
|
---|
21 | HRESULT FindCapturePin();
|
---|
22 | };
|
---|
23 |
|
---|
24 | inline CVideoCaptureTerminal::CVideoCaptureTerminal() {
|
---|
25 | m_TerminalDirection = TD_CAPTURE;
|
---|
26 | m_TerminalType = TT_STATIC;
|
---|
27 | }
|
---|
28 |
|
---|
29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.