And I have question regarding buffer size. According to documentation create will have offset and size parameters for a buffer I have to create. But how it knows the size of buffer. In my case H264 frame size is different every time. So where and how should I set buffer size?
May be there is some good example where encoded frames are taken from HW and provided in source plugin in pull mode?