Can anybody tell me how to pass variables between direct show filter and application running it?
For example:
Jukeboxdlg.cpp is using a filter to play a .avi file
and I wanna pass a CBitmap pointer into the running filter so I can do some effect on the playing clip
How can I do that? I have tried to add a member function into the filter but I dunno how can I call it in Jukeboxdlg.cpp...coz I cant find the declaration of filter but IBasefilter *pbasefilter
And I try to use it like:
pbasefilter->member_function_I_was_added();
it doesnt work.....can anyone solve my problem?
For example:
Jukeboxdlg.cpp is using a filter to play a .avi file
and I wanna pass a CBitmap pointer into the running filter so I can do some effect on the playing clip
How can I do that? I have tried to add a member function into the filter but I dunno how can I call it in Jukeboxdlg.cpp...coz I cant find the declaration of filter but IBasefilter *pbasefilter
And I try to use it like:
pbasefilter->member_function_I_was_added();
it doesnt work.....can anyone solve my problem?