I am writing a encoding filter which supports RGB24, YUY2, I420. For the efficency concern. It is good for a capture to connect this filter at the order of I420, YUY2, RGB24. How to give the filter the prioirty of connection mediatype? Or I just can do this at applicaton level?
From: "CT" > I am writing a encoding filter which supports RGB24, > YUY2, I420. > For the efficency concern. > It is good for a capture to connect this filter at the > order of I420, YUY2, RGB24. > > How to give the filter the prioirty of connection > mediatype? > Or I just can do this at applicaton level? Your filter should enumerate the media types in order of preference. -- // Alessandro Angeli // MVP :: DirectShow / MediaFoundation // mvpnews at riseoftheants dot com // http://www.riseoftheants.com/mmx/faq.htm
On 7$B7n(B15$BF|(B, $B>e8a(B9$B;~(B37$BJ,(B, "Alessandro Angeli" wrote: > From: "CT" > > > I am writing a encoding filter which supports RGB24, > > YUY2, I420. > > For the efficency concern. > > It is good for a capture to connect this filter at the > > order of I420, YUY2, RGB24. > > > How to give the filter the prioirty of connection > > mediatype? > > Or I just can do this at applicaton level? > > Your filter should enumerate the media types in order of > preference. > > -- > // Alessandro Angeli > // MVP :: DirectShow / MediaFoundation > // mvpnews at riseoftheants dot com > //http://www.riseoftheants.com/mmx/faq.htm Thanks. I have followed this, and find the way to do. :-)