Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can i do this???

Status
Not open for further replies.

streamvian

Programmer
Dec 17, 2002
1
CN
Now I meet this question.
I want to connect the output pin of file source filter(a MPEG file)and the video capture input pin. When i change the property of video capture input pin same as the property of putput pin file source filter, i still can't connect these two pins.
How can i do this???
help me! Pls.
 
Well, u sure can.
U just need to get the both pins to agree on the data type while they negotiate it.

There is a callback function for type negotiation (in IPin ) that gets called each time u connect a pin, there u have to return true when the data type match.

If u cant find a compatible data type then u should convert it or give it up :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top