The operation could not be performed because the filter is in the wrong state GetCurrentBuffer
问题 The operation could not be performed because the filter is in the wrong state I am getting this error when attemting to run hr = m_pGrabber->GetCurrentBuffer(&cbBuffer, NULL);. Strange part is - it initially worked when I stopped the graph, now it fails on running or stopped graph. So - what state it should be in?? The sample grabber code in MSDN I copied does not say if the graph should be stopped or running to get the buffer size - but the way it is presented the graph is running. I assume