Question on clocking and timestamp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fri, 2008-06-20 at 02:48 +0000, Shenhong Wang wrote:

> I read chapter 14th of the Plugin Writer's guide again
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/section-time-data-flow.html
> 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() [1] for more
information.

Cheers
 -Tim

[1]
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstEvent.html#gst-event-new-new-segment-full







[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux