mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
asset: Reuse local variable
Differential Revision: https://phabricator.freedesktop.org/D1573
This commit is contained in:
parent
e0fba540f2
commit
6b9faec7dc
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ ges_asset_set_proxy (GESAsset * asset, GESAsset * proxy)
|
||||||
if (asset->priv->proxies) {
|
if (asset->priv->proxies) {
|
||||||
GESAsset *old_proxy = GES_ASSET (asset->priv->proxies->data);
|
GESAsset *old_proxy = GES_ASSET (asset->priv->proxies->data);
|
||||||
|
|
||||||
GES_ASSET (asset->priv->proxies->data)->priv->proxy_target = NULL;
|
old_proxy->priv->proxy_target = NULL;
|
||||||
g_object_notify_by_pspec (G_OBJECT (old_proxy),
|
g_object_notify_by_pspec (G_OBJECT (old_proxy),
|
||||||
_properties[PROP_PROXY_TARGET]);
|
_properties[PROP_PROXY_TARGET]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue