Hello,<br><br>I'm playing .mov files in a Ogre Code (a 3D Rendering Engine) like that: <a href="http://www.ogre3d.org/tikiwiki/Using+GStreamer+with+Ogre">http://www.ogre3d.org/tikiwiki/Using+GStreamer+with+Ogre</a><br>
I need to know when the video has reached its final (stopped playing) and need to rewind it to play periodically. I have no idea how I know<br>when the video stopped playing, I tried to rewind it doing:<br><br>gst_element_set_state(GST_ELEMENT(mPlayer), GST_STATE_NULL);<br>
gst_element_set_state(GST_ELEMENT(mPlayer), GST_STATE_PLAYING);<br><br>But it does not work. How should I do it?<br><br>Thanks. <br clear="all"><br>-- <br>Marlos Cholodovskis Machado<br>