Windows >
Software Development for Windows Client Forums
>
DirectShow Development
>
how do you connect filter pins
how do you connect filter pins
- I am somewhat new to DirectShow programming.
I can not connect two filter pins with this code:
hr = pGraph->Connect(pMuxOut,pDecoderForDellIn)
The error returned is hr = -2147220969. This translates to error code 535 and facility code 4 in winerror.h ..
winerror.h documentation shows this error as :
// MessageId: ERROR_PIPE_LISTENING
//
// MessageText:
//
// Waiting for a process to open the other end of the pipe.
What does it mean? How does it apply to my program? Am I misreading the error code?
The strange thing is that the filter pins will connect properly when I manually connect them in graphedit.
Why wont they connect in my visual studio program?
Any help will be appreciated.
Thanks.
Will
Answers
The error returned is hr = -2147220969. This translates to...
Search results for HRESULT = 0x80040217 :
=========================
Module File Name:
C:\Windows\SysWOW64\quartz.dll
Error Message:
No combination of intermediate filters could be found to make the connection.
-------------------------
http://alax.info/blog/tag/directshow- Marked As Answer byWill Hendrie Wednesday, November 04, 2009 3:57 PM
All Replies
The error returned is hr = -2147220969. This translates to...
Search results for HRESULT = 0x80040217 :
=========================
Module File Name:
C:\Windows\SysWOW64\quartz.dll
Error Message:
No combination of intermediate filters could be found to make the connection.
-------------------------
http://alax.info/blog/tag/directshow- Marked As Answer byWill Hendrie Wednesday, November 04, 2009 3:57 PM
- Roman: Thanks for the quick reply.
Why can GRAPHEDT connect the same two filters without any intermediate filters but I can't? - There is no easy answer. Typically you can do the same things in code and with GraphEdit, but there are exception and scenarios specific to certain filters. For example, a commercial filter might be letting connections in GraphEdit as a "demo mode". But inmost cases it's something with your code if you have problems repeating GraphEdit behavior.
http://alax.info/blog/tag/directshow - Thanks for the help.
Will


