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,
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
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
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..