GNOME Bugzilla – Bug 796399
vaapipostproc: don't copy the GstParentBufferMeta if use_vpp
Last modified: 2018-06-07 10:42:24 UTC
I've noticed that DMABuf input buffer for vaapipostproc are still referenced long after vaapipostproc is done processing. This happens because the GstParentBufferMeta is copied to the output buffer. At least for vpp this should not be needed. I'm not sure about the other modes so I've restriced this to use_vpp == true here.
Created attachment 372400 [details] [review] vaapipostproc: don't copy the GstParentBufferMeta if use_vpp Otherwise a reference to a DMABuf input buffer is kept until the output buffer is deleted.
Review of attachment 372400 [details] [review]: lgtm
Attachment 372400 [details] pushed as d79bda3 - vaapipostproc: don't copy the GstParentBufferMeta if use_vpp