请问,如何在filter里修改BMP的属性
CFilter : public CTransformFilter
HRESULT CheckInputType(const CMediaType *mtIn);
HRESULT CheckTransform(const CMediaType *mtIn, const CMediaType *mtOut);
HRESULT DecideBufferSize(IMemAllocator *pAlloc, ALLOCATOR_PROPERTIES *pProperties);
HRESULT GetMediaType(int iPosition, CMediaType *pMediaType);
HRESULT Transform(IMediaSample *pIn, IMediaSample *pOut);
请问我若是要修改BMP的属性,例如长、宽等该在哪个函数里修改呢?
是在Transform(IMediaSample *pIn, IMediaSample *pOut)里修改吗,怎么修改呢?