How to use cairooverlay to draw onto window
olivier.aubert at liris.cnrs.fr
Tue Apr 24 12:34:29 PDT 2012
Could you explain the context of the memory leak when using
rsvgoverlay ? On what time scale does it occur, do you update the SVG or
display it once, etc. It would be even better if you had some basic code
that exhibited this behaviour.
On Mon, 2012-04-23 at 14:47 -0700, kususe wrote:
> I wanna understand how to use cairooverlay to draw during a video playing,
> cause simply overlaying svg images (created wuth matplotlib ad displayed
> whit rsvgoverlay plugin) got me a memory leak.
> So, I tried on a drawable window using pygk, but how to link this with
> I coded:
> def draw_line(self):
> self.movie_window.window.draw_lines(self.gc, points)
> self.movie_window.window.draw_layout(self.gc, 5, 50, self.pangolayout)
> but I got an error:
> draw_line() takes exactly 1 argument (5 given)
> Other suggestions?
> (Coglogoinsert returns me a segfaults, yet reported to Bugzilla)
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-use-cairooverlay-to-draw-onto-window-tp4581810p4581810.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel