Buffers dropped due to temporal clipping

Sebastian Dröge sebastian at centricular.com
Fri May 30 00:58:41 PDT 2014


On Fr, 2014-05-23 at 18:52 +0530, Yogesh Tyagi wrote:
> In my plugin
> 
> 
> start position in segment is getting updated through
> gst_segment_set_newsegment() api from element_sink_event function when
> GST_EVENT_NEWSEGMENT is received on the video sink pad.
> 
> 
> 
> and stop position in the segment is being updated on each buffer that is
> received in element_sink_chain function through gst_segment_set_last_stop()
> api.
> 
> 
> is this correct?

Yes, and in the sink_event function when you receive a FLUSH_STOP event
you need to reset the segment (i.e. gst_segment_init()). And the same
when the pad is deactivated.

Does it work then? If not, can you provide some more information about
the status of the segment, what happened before and the buffer
timestamps?

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140530/e82730b7/attachment-0001.sig>


More information about the gstreamer-devel mailing list