From effe1323105059cbd3380c97fc65a605a2120623 Mon Sep 17 00:00:00 2001 From: Alessandro Decina Date: Tue, 16 Feb 2016 13:01:20 +1100 Subject: [PATCH] glvideoflip: don't ignore method changes when caps aren't set (yet) --- ext/gl/gstglvideoflip.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ext/gl/gstglvideoflip.c b/ext/gl/gstglvideoflip.c index a19cee5..caae79e 100644 --- a/ext/gl/gstglvideoflip.c +++ b/ext/gl/gstglvideoflip.c @@ -351,6 +351,12 @@ gst_gl_video_flip_set_method (GstGLVideoFlip * vf, GstGLVideoFlipMethod method, if (vf->input_caps) _set_active_method (vf, method, vf->input_caps); + else { + /* just store the configured method here. The actual transform configuration + * will be done once caps are configured. See caps handling in + * _input_sink_probe. */ + vf->active_method = method; + } GST_OBJECT_UNLOCK (vf); } -- 2.7.4