|
Hi,
I have a gstbuffer header created using gst_buffer_new(). This is pointing to an mmap buffer in kernal space.The mmap buffer will be reused in the kernel driver,i will increment the ref count and push this buffer out. . sometimes the contents of mmap gets changed before they are pushed out and i have data integrity issues.
I need to know when the ref count of gstbuffer will be zero/how to check wats the ref count for the gstbuffer so that i can impl a func so that mmap buffer gets reused aft the ref count becomes zero.
|