Hi Eric, On Wed, Oct 14, 2009 at 2:31 PM, Eric Pouliquen <[email protected]> wrote: > Hi all, > > I saw that the xine ReaderWriter declare a class that can manage the "end of > movie" event (in looping case). Is there any simple way to detect this event > in an app which uses this library ? > > The osgmovie example uses keyhandler to do calls to the xine player, but > there is no integrated way to catch the XINE_EVENT_UI_PLAYBACK_FINISHED event. > > I don't see how to do it without modifying the readerwriter code...
To do this one would need to add a callback mechanism into the osg::ImageStream base class, and then implement this in the subclasses found in the Quicktime, Xine and FFmpeg plugins. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

