<html><head></head><body><div>Hi,</div><div><br></div><div>This is a problem related to the  translation between the C and Python bindings. It's a separate interface in C. So you can either force Python to access g_object_set instead of gst_child_proxy_set .. </div><div><br></div><div>Or maybe you can re-implement GstChildProxy in the subclass in a version that does nothing.</div><div><br></div><div>Olivier</div><div><br></div><div>On Fri, 2021-02-12 at 15:42 -0500, Stirling Westrup wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>I am currently making a new element which is mostly controlling a set<br></div><div>of other contained elements, so we're subclassing Gst.Bin. As well, we<br></div><div>happen to be writing this in Python, but I think that's basically<br></div><div>irrelevant for my question.<br></div><div><br></div><div>GstBin has an annoying habit of treating any foo=bar parameter fed to<br></div><div>it as a proxy to be sent to a child named foo. As a result we just<br></div><div>spent several hours debugging our application, only to discover that a<br></div><div>misspelled element property was being silently ignored.<br></div><div><br></div><div>We would dearly love to NOT have the GstChildProxy interface active on<br></div><div>our GstBin as we want no external access to the contents of the bin.<br></div><div>However, I know of no safe way of disabling an existing interface.<br></div><div><br></div><div>Failing that, some way to intercept the property setting calls to the<br></div><div>GstChildProxy interface would at least allow us to issue an error in<br></div><div>case of a bad property.<br></div><div><br></div><div>We're actually seriously considering hacking up the source for GstBin<br></div><div>to produce an UnproxiedBin to derive from, but that sort of defeats<br></div><div>our attempts to move away from C to Python in the first place.<br></div><div><br></div><div><br></div><div><br></div><div><br></div></blockquote><div><br></div><div><span><pre>-- <br></pre><div data-evo-paragraph="" class="">Olivier CrĂȘte</div><div data-evo-paragraph="" class=""><a href="mailto:olivier.crete@collabora.com">olivier.crete@collabora.com</a></div><div data-evo-paragraph="" class=""><br></div></span></div></body></html>