Here is what I have tried:
1) I modified the VMR9Allocator sample to accept my stream and it has the
same issue as my code.
2) I looked at the WM Format SDK to see if there was anything helpful there.
In the DSPlay sample (modified slightly to accept my stream url) the same
issue occurred. The code of this sample is very similar to my DirectShow
implementation. The sample has the same issue, however, an set of three
events get generated (infinitely) at the show boundary. These events are
EC_COMPLETE, 0x48, 0x46. Note that 0x48 and 0x46 are not found in evcode.h.
I already posted to the directx.video newsgroup and didn't receive any
replies, so I thought that I would try here.
Thanks,
Jenny
1) The FSDK sends WMT_EOF with an HRESULT of S_FALSE instead of the usual
S_OK. That indicates that another clip is coming.
2) The FSDK sends WMT_SOURCE_SWITCH when the next entry is ready.
3) Now you can examine the outputs, metadata, etc. This tells you the
properties of the audio, video, etc.
4) When you are ready to start receiving data from the new entry, call Start
on the reader, and you'll start getting samples soon.
Hope this helps,
Geoff
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"jenny" <je...@discussions.microsoft.com> wrote in message
news:E0ED95F9-65B0-4883...@microsoft.com...