From c05f9b1d5e4f933a908d3177667fc48255eea22a Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 9 Jun 2020 10:07:13 -0400 Subject: [PATCH] asset: Do not try to update proxies when we are in a proxying loop This is a regression introduced in c12b84788d197c714ec32653e2b751079e377c46, this commit simply brings back the previous behavior. Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/113 Part-of: --- ges/ges-asset.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ges/ges-asset.c b/ges/ges-asset.c index a4a9d05..c924ff0 100644 --- a/ges/ges-asset.c +++ b/ges/ges-asset.c @@ -876,7 +876,9 @@ ges_asset_finish_proxy (GESAsset * proxy) GST_INFO_OBJECT (proxied_asset, "%s Making sure the proxy chain is fully set.", ges_asset_get_id (entry->asset)); - ges_asset_finish_proxy (proxied_asset); + if (g_strcmp0 (proxied_asset->priv->proxied_asset_id, proxy->priv->id) || + g_strcmp0 (proxied_asset->priv->id, proxy->priv->proxied_asset_id)) + ges_asset_finish_proxy (proxied_asset); return ges_asset_set_proxy (proxied_asset, proxy); } -- 2.7.4