- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Petter Larsson (Intel) wrote:Hi,Petter I have temporarily solved the problem by ignoring if(nMin > (mfxU32)props.cBuffers) { hr = E_FAIL; } I hope I will not run across any problems by doing this.;) Many thanks -PatrickHi Patrick,
The topic has been discussed earlier on this forum.
http://software.intel.com/en-us/forums/topic/311877(maybe the above post will be of some help?)
There may not be a perfect solution available, so you may have to explore modifying or creating your own Tee filter.
Regards,
Petter

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page