mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
glvideoflip: don't ignore method changes when caps aren't set (yet)
This commit is contained in:
parent
1390312037
commit
ecdb9d6550
1 changed files with 6 additions and 0 deletions
|
@ -351,6 +351,12 @@ gst_gl_video_flip_set_method (GstGLVideoFlip * vf, GstGLVideoFlipMethod method,
|
||||||
|
|
||||||
if (vf->input_caps)
|
if (vf->input_caps)
|
||||||
_set_active_method (vf, method, 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);
|
GST_OBJECT_UNLOCK (vf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue