From 8e6872a36eb0cf98bf40e7230721cf5dd0c38408 Mon Sep 17 00:00:00 2001 From: Adrian Fiergolski Date: Wed, 27 Jul 2022 15:44:09 +0200 Subject: [PATCH] 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 Part-of: --- subprojects/gst-plugins-good/gst/videofilter/gstvideoflip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-good/gst/videofilter/gstvideoflip.c b/subprojects/gst-plugins-good/gst/videofilter/gstvideoflip.c index 1375b57..2403f2a 100644 --- a/subprojects/gst-plugins-good/gst/videofilter/gstvideoflip.c +++ b/subprojects/gst-plugins-good/gst/videofilter/gstvideoflip.c @@ -1140,6 +1140,7 @@ gst_video_flip_set_method (GstVideoFlip * videoflip, g_type_class_unref (enum_class); videoflip->proposed_method = method; + videoflip->change_configuring_method = TRUE; GST_OBJECT_UNLOCK (videoflip); -- 2.7.4