asset: Do not try to update proxies when we are in a proxying loop

This is a regression introduced in
c12b84788d, this commit simply brings back
the previous behavior.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/113

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/185>
This commit is contained in:
Thibault Saunier 2020-06-09 10:07:13 -04:00 committed by GStreamer Merge Bot
parent c09de963be
commit c05f9b1d5e

View file

@ -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);
}