I have found an odd behaviour in with ClutterMedia actors. If I have a video playing as a ClutterMedia - then destroy the actor via clutter_actor_destroy the stream continues to play Audio can still be heard and errors on console suggest that the video is still trying to display but there is nothing to display to. The error seen on console is: (lyricue_display:21647): Clutter-CRITICAL **: clutter_texture_set_cogl_material: assertion `CLUTTER_IS_TEXTURE (texture)' failed
If I first tell the ClutterMedia actor to stop playing via clutter_media_set_playing(CLUTTER_MEDIA(actor), FALSE) it does stop the audio - but I can see that the stream is still active (since pulseaudio shows that there is still something connected) This way every time a video is played (and the old actor destroyed) a new stream appears. Is this expected behaviour? Is there some other way I should be getting rid of the old/unneeded ClutterMedia actor? See http://bazaar.launchpad.net/~chris-debenham/lyricue/main/view/head:/src/display.c#L938for the relevant code Thanks, Chris
_______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
