mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
asset: Do not allow proxying over the same currently proxied asset
This commit is contained in:
parent
38bc983502
commit
bf1e966d25
1 changed files with 4 additions and 0 deletions
|
@ -585,6 +585,10 @@ ges_asset_set_proxy (GESAsset * asset, const gchar * new_id)
|
|||
GST_WARNING_OBJECT (asset, "Trying to proxy to itself (%s),"
|
||||
" NOT possible", new_id);
|
||||
|
||||
return FALSE;
|
||||
} else if (g_strcmp0 (asset->priv->proxied_asset_id, new_id) == 0) {
|
||||
GST_WARNING_OBJECT (asset, "Trying to proxy to same currently set proxy");
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue