mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
glbasefilter: always call gl_start when not called already
Fixes elements transitioning out of passthrough mode using GL resources that hadn'e been allocated yet.
This commit is contained in:
parent
e2c9f4570c
commit
63f7d0a396
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ gst_gl_base_filter_decide_allocation (GstBaseTransform * trans,
|
|||
GST_OBJECT_UNLOCK (filter->display);
|
||||
}
|
||||
|
||||
if (new_context) {
|
||||
if (new_context || !filter->priv->gl_started) {
|
||||
if (filter->priv->gl_started)
|
||||
gst_gl_context_thread_add (filter->context, gst_gl_base_filter_gl_stop,
|
||||
filter);
|
||||
|
|
Loading…
Reference in a new issue