1 #ifndef MPLAYER_OUTPUTPIN_H
2 #define MPLAYER_OUTPUTPIN_H
4 /* "output pin" - the one that connects to output of filter. */
8 typedef struct COutputMemPin COutputMemPin
;
9 typedef struct COutputPin COutputPin
;
12 Callback routine for copying samples from pin into filter
13 \param pUserData pointer to user's data
14 \param sample IMediaSample
16 typedef HRESULT
STDCALL (*SAMPLEPROC
)(void* pUserData
,IMediaSample
*sample
);
22 COutputMemPin
* mempin
;
25 SAMPLEPROC SampleProc
;
27 void ( *SetNewFormat
)(COutputPin
*, const AM_MEDIA_TYPE
* a
);
30 COutputPin
* COutputPinCreate(const AM_MEDIA_TYPE
* amt
,SAMPLEPROC SampleProc
,void* pUserData
);
32 #endif /* MPLAYER_OUTPUTPIN_H */