2

Hello everyone I am trying to make a simple video player using Gtk3 python & Gstreamer. I am also using Clutter,ClutterGtk & ClutterGst

The problem arises when initialise the ClutterGst like:

ClutterGst.init()

but I dont know the argument which should be passed here. If I try sys.argv my Gtk window disappears.

1 Answer 1

2
+50

You start by initializing ClutterGtk, then GstClutter, both with sys.argv, then everything should work fine.

Take a look at audience's initialization code for example: http://bazaar.launchpad.net/~audience-members/audience/trunk/view/head:/Audience/Audience.vala#L898 (not sure if the X.init_threads is really necessary, but there were some strange problems in Audience which were (probably) solved with this)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .