Re: Re2: Pushing up data through the stream in quartz

2005-04-11 Thread Maarten Lankhorst
Robert Shearman wrote: Maarten Lankhorst wrote: HRESULT Capture_Run(CaptureBox * capBox, FILTER_STATE *state) { HRESULT hr; IMediaSample *pSample = NULL; LPBYTE pointer; hr = OutputPin_GetDeliveryBuffer((OutputPin *)capBox->pOut, &pSample, NULL, NULL, 0); TRACE("Meat 1: %lx - %p\n", hr,

Re: Re2: Pushing up data through the stream in quartz

2005-04-11 Thread Robert Shearman
Maarten Lankhorst wrote: HRESULT Capture_Run(CaptureBox * capBox, FILTER_STATE *state) { HRESULT hr; IMediaSample *pSample = NULL; LPBYTE pointer; hr = OutputPin_GetDeliveryBuffer((OutputPin *)capBox->pOut, &pSample, NULL, NULL, 0); TRACE("Meat 1: %lx - %p\n", hr, pSample); hr = IMedia

Re: Pushing up data through the stream in quartz

2005-04-10 Thread Robert Shearman
Maarten Lankhorst wrote: I'm trying to figure out how to do this, but I can't find anything on the subject. From what I can tell, you have to make a media sample, then use outputpin_sendsample to deliver it, so, how do I fill up a media sample with a single frame? A sample *is* a single frame, s

Pushing up data through the stream in quartz

2005-04-10 Thread Maarten Lankhorst
I'm trying to figure out how to do this, but I can't find anything on the subject. From what I can tell, you have to make a media sample, then use outputpin_sendsample to deliver it, so, how do I fill up a media sample with a single frame? For now, just with NULL data would be sufficient..