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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem writing DirectShow Source Filter

Status
Not open for further replies.

CeeDee666

Programmer
Jan 1, 2002
4
0
0
DE
I've got problems writing a sourecfilter for directshow. I derrived my class from CSourceStream and implemented the methods like described in the directx docu.
when i test the filter in graphbuilder everything works fine until i press paly. then i get an exception inside FillBuffer(IMediaSample *pms).
I looked at it with the debugger and it seems that i dont bet an IMediaSample from the framework but an IUnknown on which i can't invoke methods like GetPointer().
has anyone an idee where this problem comes from or how to sobe it?

thanks Christian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top