videoflip: Fix caps negotiation when method is selected
authorAdrian Fiergolski <adrian.fiergolski@fastree3d.com>
Wed, 27 Jul 2022 13:44:09 +0000 (15:44 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 28 Jul 2022 00:00:47 +0000 (00:00 +0000)
commit8e6872a36eb0cf98bf40e7230721cf5dd0c38408
tree6502ff5526237de91df59f6df7e4380d3d2c2aa7
parent76cc5f88c5ffe5df691a368719a6ecd0a4447cd9
videoflip: Fix caps negotiation when method is selected

The caps negotiation should respect the selected method to the test pipeline below works properly.
gst-launch-1.0 videotestsrc ! video/x-raw,width=320,height=600 ! videoflip method=clockwise ! video/x-raw,width=600,height=320 ! fakesink

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2803>
subprojects/gst-plugins-good/gst/videofilter/gstvideoflip.c