mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
asset: Handle trying to proxy an asset to itself
And avoid infinite recursion
This commit is contained in:
parent
902b8ad98e
commit
b8c897308d
1 changed files with 3 additions and 1 deletions
|
@ -769,7 +769,9 @@ ges_asset_set_proxy (GESAsset * asset, GESAsset * proxy)
|
|||
|
||||
GST_INFO_OBJECT (asset, "%s Making sure the proxy chain is fully set.",
|
||||
ges_asset_get_id (entry->asset));
|
||||
ges_asset_set_proxy (NULL, asset);
|
||||
if (g_strcmp0 (asset->priv->proxied_asset_id, proxy->priv->id) ||
|
||||
g_strcmp0 (asset->priv->id, proxy->priv->proxied_asset_id))
|
||||
ges_asset_set_proxy (NULL, asset);
|
||||
}
|
||||
|
||||
if (proxy->priv->proxy_target) {
|
||||
|
|
Loading…
Reference in a new issue