videoconverter: Relax frame size checks
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 9 Jul 2020 17:13:14 +0000 (13:13 -0400)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 9 Jul 2020 20:35:05 +0000 (20:35 +0000)
commitdcc7242ba526cfe4a4fa957cc60eecf1f0c7a998
tree94777a1804c06dc21a8f49b93c1de9f960b1a614
parentf94c7ae3c99e0febfb81c9710bb0b98922eaf5f8
videoconverter: Relax frame size checks

Since we are using VideoMeta, the converter (similarly to the video_frame_copy
utility) should have no issue dealing with frames that are slightly larger.
This situation occure as some element will use padded width/height for
allocation, which results in a VideoMeta width/height being larger then the
display width/height found in the negotiated caps.

Fixes #790

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/747>
gst-libs/gst/video/video-converter.c