diff --git a/ext/gl/gstglbasemixer.c b/ext/gl/gstglbasemixer.c index 7459572043..719b25fa9a 100644 --- a/ext/gl/gstglbasemixer.c +++ b/ext/gl/gstglbasemixer.c @@ -295,7 +295,7 @@ gst_gl_base_mixer_sink_query (GstAggregator * agg, GstAggregatorPad * bpad, 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, @@ -545,7 +545,7 @@ gst_gl_base_mixer_src_query (GstAggregator * agg, GstQuery * 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, diff --git a/ext/gl/gstglstereosplit.c b/ext/gl/gstglstereosplit.c index e990ce0d13..d7d0ef9bf3 100644 --- a/ext/gl/gstglstereosplit.c +++ b/ext/gl/gstglstereosplit.c @@ -721,7 +721,7 @@ stereosplit_src_query (GstPad * pad, GstObject * parent, GstQuery * 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, @@ -768,7 +768,7 @@ stereosplit_sink_query (GstPad * pad, GstObject * parent, GstQuery * 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, diff --git a/gst-libs/gst/gl/gstglbasefilter.c b/gst-libs/gst/gl/gstglbasefilter.c index 0524503207..ac092f9f95 100644 --- a/gst-libs/gst/gl/gstglbasefilter.c +++ b/gst-libs/gst/gl/gstglbasefilter.c @@ -288,7 +288,7 @@ gst_gl_base_filter_query (GstBaseTransform * trans, GstPadDirection direction, 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,