Question about playback loops inside a decoder

Carlos Rafael Giani dv at pseudoterminal.org
Fri May 31 10:26:24 PDT 2013


Hello,

I am finishing some elements that decode old video game music files. One 
common property of these files is that they often loop.
Traditionally, the looping is handled by the decoder directly. However, 
this seems to be in conflict with the way it is done in GStreamer,
since this would mean that a decoder element emits seek events along 
with the newsegment ones.

Now I wonder how to do this properly. When the loop happens, it is 
equivalent to seeking backwards (to the point where the loop begins).
Should the element then send a seek event downstream, and a newsegment 
one afterwards?

cheers


More information about the gstreamer-devel mailing list