Re: [clutter] MPlayer and clutter

2009-11-11 Thread Jason Tackaberry
[Readding the clutter mailing list in case others might find the code snippet helpful.] On Wed, 2009-11-11 at 09:55 -0700, Kevin DeKorte wrote: > Do you have an example for this? Nothing really self contained. I have a vast glob of horrid prototype code for a clutter-based video renderer which d

Re: [clutter] MPlayer and clutter

2009-11-11 Thread Jason Tackaberry
On Tue, 2009-11-10 at 14:23 +0100, Matej Kupljen wrote: > Is there a way to get window ID so I can pass it to MPlayer? > Any other option? Another option would be to use ClutterGLXTexturePixmap to redirect the MPlayer window into a clutter texture. This works nicely on nvidia, at least. Jason.

Re: [clutter] Problem with async

2009-11-11 Thread Vincent Lauria
I fixed my code but I do not understand why none of textures displayed without action keyboard and mouse. Here is my code and I hope he does not need too;) PS: Sorry for my very bad English Tanks #include #include void load_finished ( ClutterTexture *texture, const GError

Re: [clutter] Problem with async

2009-11-11 Thread Emmanuele Bassi
On Wed, 2009-11-11 at 14:56 +0100, Vincent Lauria wrote: > void > load_finished ( > ClutterActor *image, > GParamSpec *args1, > gpointer data) > { > printf("load_finished()\n"); > clutter_actor_set_size (image, 100, 100); > } the signature for this signal is wrong. p

[clutter] Problem with async

2009-11-11 Thread Vincent Lauria
Hello everyone, I have a little problem with the function clutter_texture_set_load_async. Nothing is displayed unless a timer is triggered or action keyboard or mouse is sent, here is my code: #include #include void load_finished ( ClutterActor *image, GParamSpec *args1,