need help on new segment event

rajnikant jachak rajnikantjachak at gmail.com
Fri Dec 21 07:54:14 PST 2012


Hi All,

As per GStreamer documents, one need to send new segment event after seek,
so as to specify valid buffer time stamp range (
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstEvent.html#gst-event-new-segment).
My question is, does new segment manipulate the pipeline clock?
For ex. I have frames A1, A2 ... A100. I started playing these frames by
pushing frame data  in buffer and assigning respective PTS values of frames
as time stamp of that buffer. After seeking to frame A40, I sent new
segment event with 'start' parameter as PTS value of A40 frame and stop as
-1. I have started pushing A40 onwards frames for decoding. Will these
frames start playing immediately?

I was trying above mentioned scenario, but saw some weird behaviour. The
playback of seeked frames was getting delayed by almost seeked time.
Please forgive me, if I have completely misunderstood  the idea behind new
segment event.

-- 
Regards,
Rajnikant Jachak.

The pessimist sees difficulty in every opportunity. The optimist sees the
opportunity in every difficulty.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121221/2c8662df/attachment.html>


More information about the gstreamer-devel mailing list