<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Cheers Mark, that’s really good to know!<div><br><div apple-content-edited="true"><div style="color: rgb(0, 0, 0); font-family: Helvetica;  font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="orphans: 2; text-align: -webkit-auto; text-indent: 0px; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I think I might proceed in C anyway, lest I encounter more Python shenanigans down the line. Probably better to invest the time in a more mature/stable system.</div></div></div><div apple-content-edited="true"><br class="Apple-interchange-newline">
</div>
<br><div><div>On 3 Mar 2014, at 4:19 pm, Mark Howell <<a href="mailto:mark-sub1@hypgnosys.org">mark-sub1@hypgnosys.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 03/02/2014 05:23 PM, Michael Tyson wrote:<br>[snip]<br><blockquote type="cite"><br>Unfortunately, the Python bindings appear to be stuffed with<br>cairooverlay too (" 'gobject.GBoxed' object has no attribute<br>‘set_source_rgba’” from within the draw callback), so I’ll switch to C<br>for the project and see how it goes.<br><br></blockquote><br>Michael, FWIW the gstreamer cairooverlay element and pycairo can be coerced to work together, at least it is working for me atm. See workaround attached to bug at <a href="https://bugzilla.gnome.org/show_bug.cgi?id=694604">https://bugzilla.gnome.org/show_bug.cgi?id=694604</a>.<br><br>In this scenario cairooverlay generates its own cairo context and passes that to your app via the draw signal, and the workaround code enables you to wrap that cairo_t in a pycairo Context so you can decorate the frame in Python.<br><br>Cheers,<br><br>Mark.<br><br>_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br></blockquote></div><br></div></body></html>