projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38bc983
)
asset: Do not allow proxying over the same currently proxied asset
author
Thibault Saunier
<thibault.saunier@collabora.com>
Sat, 29 Dec 2012 20:58:02 +0000
(17:58 -0300)
committer
Thibault Saunier
<thibault.saunier@collabora.com>
Mon, 31 Dec 2012 02:12:27 +0000
(23:12 -0300)
ges/ges-asset.c
patch
|
blob
|
history
diff --git
a/ges/ges-asset.c
b/ges/ges-asset.c
index
fcf9130
..
798265e
100644
(file)
--- a/
ges/ges-asset.c
+++ b/
ges/ges-asset.c
@@
-586,6
+586,10
@@
ges_asset_set_proxy (GESAsset * asset, const gchar * new_id)
" 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;
}
if (asset->priv->proxied_asset_id)