difference between GST_EVENT_STEP and GST_EVENT_SEEK

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Dec 13 02:14:56 PST 2011


On Mon, 2011-12-12 at 20:59 -0800, chandu wrote:

> what is the difference between GST_EVENT_STEP  and GST_EVENT_SEEK. Both
> appears same to me. both will play the stream from a new position. can any
> one please help me on this.

STEP is part of the frame-stepping API (docs/design/part-framestep.txt)
where playback rate and position is basically controlled at the sink.

SEEK is what you'd use in a normal playback scenario to seek to a new
position. In this case the demuxer will jump to a new position and start
sending data from the new position at the new playback rate etc.

Cheers
 -Tim



More information about the gstreamer-devel mailing list