I
icester
Hello,
I have a problem with filter that reads WMV file with more than 2 streams.
pProf->GetStreamCount(&dwNumStreams); // Get streams count
for(size_t i = 0; i < dwNumStreams; ++i) // Iterate over each stream
{
// Get IWMStreamConfig interface
CComPtr<IWMStreamConfig> pStreamConfig; CComPtr<IWMOutputMediaProps
pOutProps;
pProf->GetStream(i, &pStreamConfig);
m_pReader->GetOutputProps(i, &pOutProps);
it fails when i >= 2
Please advice,
Mathew
I have a problem with filter that reads WMV file with more than 2 streams.
pProf->GetStreamCount(&dwNumStreams); // Get streams count
for(size_t i = 0; i < dwNumStreams; ++i) // Iterate over each stream
{
// Get IWMStreamConfig interface
CComPtr<IWMStreamConfig> pStreamConfig; CComPtr<IWMOutputMediaProps
pOutProps;
pProf->GetStream(i, &pStreamConfig);
m_pReader->GetOutputProps(i, &pOutProps);
it fails when i >= 2
Please advice,
Mathew