Fixes error introduced by:
a4e49ba8c9657e2230aad32b6988bbda7a755440
https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/642
Using the application GL context as the local GL context is not going to
work very well.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/643>
if (mix->context)
local = gst_object_ref (mix->context);
if (mix->priv->other_context)
- local = gst_object_ref (mix->priv->other_context);
+ other = gst_object_ref (mix->priv->other_context);
g_rec_mutex_unlock (&mix->priv->context_lock);
ret = gst_gl_handle_context_query ((GstElement *) mix, query,
if (mix->context)
local = gst_object_ref (mix->context);
if (mix->priv->other_context)
- local = gst_object_ref (mix->priv->other_context);
+ other = gst_object_ref (mix->priv->other_context);
g_rec_mutex_unlock (&mix->priv->context_lock);
ret = gst_gl_handle_context_query ((GstElement *) mix, query,
if (split->context)
local = gst_object_ref (split->context);
if (split->other_context)
- local = gst_object_ref (split->other_context);
+ other = gst_object_ref (split->other_context);
g_rec_mutex_unlock (&split->context_lock);
ret = gst_gl_handle_context_query ((GstElement *) split, query,
if (split->context)
local = gst_object_ref (split->context);
if (split->other_context)
- local = gst_object_ref (split->other_context);
+ other = gst_object_ref (split->other_context);
g_rec_mutex_unlock (&split->context_lock);
ret = gst_gl_handle_context_query ((GstElement *) split, query,
if (filter->context)
local = gst_object_ref (filter->context);
if (filter->priv->other_context)
- local = gst_object_ref (filter->priv->other_context);
+ other = gst_object_ref (filter->priv->other_context);
g_rec_mutex_unlock (&filter->priv->context_lock);
ret = gst_gl_handle_context_query ((GstElement *) filter, query,