Information About Segment Event

Sebastian Dröge sebastian at centricular.com
Thu May 22 00:12:35 PDT 2014


On Mi, 2014-05-21 at 01:40 -0700, Manoj89 wrote:
> Hi,
>     Whenever there is the Segment Event triggered by the element whether it
> posts the message to bus and can be read by application ? As I have seen in
> the following link 
> http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-messages.txt 
> 
> They say that GST_MESSAGE_SEGMENT_START_EVENT is not posted to the bus of
> the pipeline.Do anybody idea on this? 

The SEGMENT event and the SEGMENT_START/DONE message have not much to do
with each other. The messages are posted on the bus by the element
driving the pipeline (i.e. usually the demuxer) when you do a SEGMENT
seek (i.e. a seek with the SEGMENT flag), and they are produced instead
of the EOS event and EOS message then.

The SEGMENT event is always generated by elements before the produce
data flow and required for proper synchronisation.

-- 
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/20140522/a18a62aa/attachment.sig>


More information about the gstreamer-devel mailing list