Re: ASF custom file type



From: "Blow"

I have used the third method - of signature in the file
which links to a source filter.
In GraphEdit , when I load an asf file (which has the
signature) it loads my custom source filter,
but when I use the AddSourceFilter method or loads the
same file to Windows Media Player it loads the default
source filter.
How can that be?

If WMP thinks that the stream is a WM one (e.g. depending on
file extension or URL protocol or file signature), it will
bypass automatic graph building and always use its own
internal WM source filter. Overloading a file extension is
not a good idea since it can be confusing and you should
bind your source filter to a custom extension or protocol
and a file signature.


--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


.



Relevant Pages