Skip to content

videoscale: Don't copy scaled metas

James Cowgill requested to merge jcowgill/gstreamer:videoscale-rois into main

Returning TRUE from the transform_meta function tells GstBaseTransform to copy the meta into the new buffer. If videoscale has already transformed a meta by scaling it, it should always return FALSE to avoid duplicating the meta.


I've also added a test for this in the second commit (using GstVideoRegionOfInterestMeta which is how I originally discovered this bug)

Merge request reports