[gst-devel] Dealing with .mov files in C++

Tristan Matthews tristan at sat.qc.ca
Wed Oct 27 22:49:15 CEST 2010


Hi Marlos,

You should have a bus callback as described here:
http://www.gstreamer.net/data/doc/gstreamer/head/manual/html/chapter-bus.html#section-bus-howto
that will catch EOS messages, which are emitted when your stream is done
playback. Upon getting this message, you need to call gst_element_seek on
your playbin element with a seek position of 0, which will tell it to
restart.

I posted a simple example here:
http://tristanswork.blogspot.com/2010/10/looping-playback-with-gstreamer.html

-t

-- 
Tristan Matthews
email: tristan at sat.qc.ca
web: http://tristanswork.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101027/561dd5d2/attachment.htm>


More information about the gstreamer-devel mailing list