From: Tim Müller <tim.muller@co...> - 2008-06-20 08:48:50
On Fri, 2008-06-20 at 02:48 +0000, Shenhong Wang wrote:
> I read chapter 14th of the Plugin Writer's guide again
> but confused with the sentence:
> "First, the source element sends a discontinous event. This event
> carries information about the current relative time of the next
> sample. ".
Looks like you found a chapter that hasn't been updated since the
GStreamer-0.8 days. You should ignore everything in there, it doesn't
apply any longer. (Please file a bug against the documentation for this,
if there isn't one already)
> Can anyone of you tell me how to send the discontinuous event in our
> source/parser element? thanks a lot!
In GStreamer-0.10 you need to send a NEWSEGMENT event instead. See the
design docs (in the gstreamer core source code under docs/design/) and
the API documentation for gst_event_new_new_segment_full()  for more