mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
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>
This commit is contained in:
parent
76cc5f88c5
commit
8e6872a36e
1 changed files with 1 additions and 0 deletions
|
@ -1140,6 +1140,7 @@ gst_video_flip_set_method (GstVideoFlip * videoflip,
|
||||||
g_type_class_unref (enum_class);
|
g_type_class_unref (enum_class);
|
||||||
|
|
||||||
videoflip->proposed_method = method;
|
videoflip->proposed_method = method;
|
||||||
|
videoflip->change_configuring_method = TRUE;
|
||||||
|
|
||||||
GST_OBJECT_UNLOCK (videoflip);
|
GST_OBJECT_UNLOCK (videoflip);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue