Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.27
LEADTOOLS Media Foundation Help

IltmfPlay::get_SourceStream Example for C++

Show in webframe
void SetSourceStream(IStream *pSourceStream, IltmfPlay *pPlay)


{
HRESULT hr = pPlay->put_SourceStream(pSourceStream);
if (FAILED(hr))
return;
#ifdef _DEBUG
IStream *pStream = NULL;
// try to get the play source stream object
hr = pPlay->get_SourceStream((IUnknown**)&pStream);
assert(pStream);
#endif
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.