Re: ASF custom file type
- From: "Alessandro Angeli" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 24 Oct 2007 11:18:11 -0400
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
.
- References:
- ASF custom file type
- From: omerandanat
- Re: ASF custom file type
- From: Alessandro Angeli
- Re: ASF custom file type
- From: Blow
- Re: ASF custom file type
- From: Blow
- ASF custom file type
- Prev by Date: Re: about SetRate()'s error
- Next by Date: Re: CLSID_SFilter Class
- Previous by thread: Re: ASF custom file type
- Next by thread: about SetRate()'s error
- Index(es):
Relevant Pages
|