Does appsink plugin occupy one buffer in pre-roll state?

caoxi xi.cao at intel.com
Mon Mar 20 03:43:28 UTC 2017


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!



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Does-appsink-plugin-occupy-one-buffer-in-pre-roll-state-tp4682303.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list