<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Hi Everyone,</div><div><br></div><div>I am trying to use the cairooverlay element in a Gstreamer-sharp application and unfortunately the draw/caps-changed signals are not being called. Just wanted to double check and make sure I was setting up the element properly:</div><div><br></div><div><div>            sourceElement = ElementFactory.Make("filesrc", "source" + playerId);</div><div>            decodeElement = ElementFactory.Make("decodebin", "decoder" + playerId);</div><div>            convertElement = ElementFactory.Make("videoconvert", "convert" + playerId);</div><div>            overlayElement = ElementFactory.Make("cairooverlay", "overlay" + playerId);</div><div>            queueElement = ElementFactory.Make("queue", "queue" + playerId);</div></div><div><br></div><div><div>            if (overlayElement != null)</div><div>            {</div><div>                overlayElement.Connect("draw", DrawOverlay);</div><div>                overlayElement.Connect("caps-changed", PrepareOverlay);</div><div>            }</div></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>     …… // other stuff here for initialization of the playbin/pipeline</div><div><br></div><div><div>                Bin pipelineBin = (Bin)pipeline;</div><div><br></div><div>                pipelineBin.Add(sourceElement, decodeElement, convertElement, overlayElement, queueElement, sinkElement);</div><div>                Element.Link(sourceElement, decodeElement, convertElement, overlayElement, queueElement, sinkElement);</div></div><div><br></div><div>And then my signal functions are:</div><div><br></div><div><div>        private static void PrepareOverlay(object o, GLib.SignalArgs args)</div><div>        {</div><div>            Console.WriteLine(args);</div><div>        }</div><div><br></div><div>        private static void DrawOverlay(object o, GLib.SignalArgs args)</div><div>        {</div><div>            Console.WriteLine(args);</div><div>        }</div></div><div><br></div><div>My breakpoints inside the signal functions never hit.</div><div><br></div><div>Hopefully someone can help me out!</div><div><br></div><div>Thanks,</div><div>PIyush</div></body></html>