Fixate caps to display_height/width and remove custom fields
The display_width and display_height fields aren't used anywhere
except in-between v4l2mtkvpudec and v4l2convert. A simple pipeline
file ! decodebin ! sink
without capsfilters will for 1080p input produce 1088p output with
the custom fields set to 1080p. Those fields are ignored everywhere.
Instead fixate caps to this dimension to trigger cropping to pruduce
the expected output.
1 file changed