[gst-devel] GstTimeCache intro

Joshua N Pritikin vishnu at pobox.com
Sun Aug 12 10:18:44 CEST 2001


On Sat, Aug 11, 2001 at 08:40:54PM -0700, Erik Walthinsen wrote:
> On Sun, 12 Aug 2001, Joshua N Pritikin wrote:
> > That mostly sounds OK.  My application has its own data to attach to
> > each bookmark.  i assume i can write my own XML routines for save/load?
> > In other words, a bookmark should not be an opaque object.
>
> Would a single gpointer be sufficient in addition to the timestamp and
> location?  A function pointer would then be called while saving each entry.

Saving it where?

> On the other hand, I'm not certain that the timecache is the best way to
> do this.  It sounds more like you want to build a bookmarking-specific
> data structure with its own timestamps.  The TimeCache is mostly for
> internal mapping done by a parser element, to enable seeking...

So i'd store timestamps separately and the TimeCache separately?  That
sounds OK too.  The main thing is that i need to be able to seek to
arbitrary places in the video stream with minimum latency, maximum
accuracy, and i'm going to be doing this very often.

-- 
Get self-realization at <http://sahajayoga.org> ... <http://why-compete.org> ?
  Victory to the Divine Mother!!




More information about the gstreamer-devel mailing list