Hi..

I am evaluating your Decoder and Demuxer for possible usage in a commercial product..
The problem I have is that I can't seem to connect my TS Source to your Demux, although all steps return positve feedback.
My Pin is derived from CBaseOutputPin and exposes the single MediaType: MEDIATYPE_Stream, MEDIASUBTYPE_MPEG2_TRANSPORT
When I connect the following happens:
Connecting Filters: Upstream=BCR Downstream=Elecard MPEG Demultiplexer
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
[ OK ] GetMediaType()
[ OK ] CheckMedia()
[ OK ] DecideBufferSize()
[ OK ] GetMediaType()
[FAIL] GetMediaType() : No More Items
Cannot connect Filters: 0x80004005
So the Graph is obviously enumerating your Input formats and tries it on my Source.. Eventually we agree on the Format..

and we agree on a Buffer (4 Buffer each containing 44 TS Packets (maybe too small? cranking that up to 300 doesn't change anything, though).
And then it fails to connect..

I stepped through the process starting at DecideAllocator() (because I thought that it may be a problem that my filter is not providing an allocator, however, your filter provides one and it looks all good there)..
The less sophisticated MsDemux connects fine, btw.. (with [ OK ] GetMediaType(); [ OK ] CheckMedia(); [ OK ] DecideBufferSize()).. (it's just that it doesn't seem to give me any output, hence the try to yours)..
Do you have any ideas?
Cheers,
--
Thomas