Skip to content

glfilter: Only add parent meta if inbuf != outbuf

Fixes #3014 (closed). Turns out that wasn't macOS specific :)

This was causing a memory leak in cases like `gltestsrc ! gltransformation scale-x=0.5 ! glimagesink`.
Parent meta was being added in assumption that those buffers are different, which was not the case here,
creating a reference loop and never freeing the buffer.

Merge request reports

Loading