On 2011-08-18 at 18:57, Sebastian Hirschler wrote:
> I am running clutter 1.6.14 and clutter-gst 1.3.6 (python using
> introspection). 
> I want to retrieve the pipeline after creating a VideoTexture but I get
> an error "VideoTexture has no attribute get_pipeline". Running a dir on
> the object doesn't list this attribute.
> 
> self.video_texture = ClutterGst.VideoTexture()
> self.pipeline = self.video_texture.get_pipeline()
> 
> It was working when using the python bindings of clutter-gst however.
> What is wrong here?

there was a missing annotation that made the introspection machinery
skip the get_pipeline() method.

this has been fixed in clutter-gst master, and it will be in the next
release. the commit, for those interested, is:

  commit 133a7ba18112d7caa0acb6ff0b50a8798aa9d924
  Author: Bastian Winkler <[email protected]>
  Date:   Tue Jul 5 14:36:08 2011 +0200

      video-texture: Add missing transfer annotations

      Add missing transfer annotations to allow get_pipeline() and
      get_idle_material() being used through gobject-introspection

      Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=654003

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
Intel Open Source Technology Center
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to