Skip to content

videocrop: Fix spurious allocation query

The videocrop element was executing an allocation query for every crop region changes. In the case of in-place the result of that allocation query was not used. This was also causing copied in kmssink due to how the draining is implemented. The draining is not strictly needed, but this will be addressed separately. This change is sufficient to make per-frame crop changes smooth.

Merge request reports