difference between GST_EVENT_STEP and GST_EVENT_SEEK

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

difference between GST_EVENT_STEP and GST_EVENT_SEEK

chandu
Hi,

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.

Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: difference between GST_EVENT_STEP and GST_EVENT_SEEK

Tim-Philipp Müller-2
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel