mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 18:05:37 +00:00
asset: Fix set_proxy to abort when an error happens
Differential Revision: https://phabricator.freedesktop.org/D1574
This commit is contained in:
parent
6b9faec7dc
commit
872d15eb9d
1 changed files with 2 additions and 0 deletions
|
@ -725,6 +725,8 @@ ges_asset_set_proxy (GESAsset * asset, GESAsset * proxy)
|
|||
GST_ERROR_OBJECT (asset,
|
||||
"Trying to use %s as a proxy, but it is already proxying %s",
|
||||
proxy->priv->id, proxy->priv->proxy_target->priv->id);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
if (g_list_find (proxy->priv->proxies, asset)) {
|
||||
|
|
Loading…
Reference in a new issue