In h264_enc_filter, I noitce the NotifyAllocator() method will return E_FAIL if cBuffers < nMin. I know this is because h264_enc_filter needs to restrict the minimum number of the input frame surfaces required for encoding initialization.
When I implement a upstream filter,I can set cBuffers to a proper value. However, sometimes I just need to use some other filters which I don't have the source code.
For example, I tried connecting the Infinite_Pin_Tee_Filter to the h264_enc_filter and it failed. The cBuffers value in the allocator property was set to 1, which is smaller than the minimum number of frames required by the encoder filter. What can I do in this situation? Thank you!
Regards.
-Patrick



