GstVideoCropMeta implementation is inconsistent
Submitted by Jan Schmidt
Currently GstVideoCropMeta implementation is problematic - caps width/height values and GstVideoMeta settings are a bit jumbled, and things need fixing and documenting across the board.
From slomo in bug 74010, it should work like this:
- CAPS event contains the display width/height (otherwise applications will become unhappy, GstDiscoverer reports wrong information, etc)
- caps inside the ALLOCATION query contain the memory width/height
- GstVideoMeta contains the memory width/height
- GstVideoCropMeta contains how much should be cropped relative to the values inside the video meta and the ALLOCATION query caps