![]() |
![]() |
|
|||||||
| Register | Forum Rules | Getting Started! - Guide | Blog | Videos | Gallery | Members List | Social Groups | Mark Forums Read |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jan 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
![]() OS:
|
Hi!
I've learnt alot on this site. I'm writing my own source filter which is based on Vivek's VCam (from TMH's site). I'm also using the SDK's Ball example. From both of these samples I see that CSourceStream calls the filter's FillBuffer routine. Once I started to run my filter and have the camera send frames (over the USB), I want for each frame to call the FillBuffer. At the moment the FillBuffer isn't getting called at all. I went into the source.cpp code (definition of CSourceStream) but i couldn't figure out what is the trigger for calling FillBuffer. Any help would be appreciated. Thanks, Mechi Hi! OK - I figured out that FillBuffer isn't called cuz my filter didn't start previewing (pMC->Run() from Amcap wasn't called). But I still ask - once I start Previewing and Capturing, how can I call Fillbuffer with the new sample? Mechi FillBuffer is called automatically with data from buffer once pControl->Run() is called Last edited by bakuryu; 04-03-2009 at 05:50 PM.. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Home - Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |