|
Recently I've been testing appsink plugin and found something confusing. I used videotestsrc and appsink(of course), capsfilter: YUY2, 1080p(which is common). Generally, videotestsrc will allocate 2 buffers by default. But when pipeline is playing, one of the buffer is occupied by appsink in pre-roll state, that its buffer refcount increased by 1 and never got released until pipeline stops. in that case, videotestsrc allocate another buffer with a new address to replace the one being held.
Have anyone met this kind of situation?
Looking forward for your reply, thanks a lot!
|