[gst-devel] GstTimeCache intro
Joshua N Pritikin
vishnu at pobox.com
Tue Aug 14 18:29: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 the be called while saving each entry.
>
> 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...
Agreed. i'll keep my own timestamps and use the TimeCache to seek back
and forth.
Still, i have the problem of reconciling a timestamp with a particular
version of a movie. i guess we should punt for now and coming up
with a solution later. :-)
--
Get self-realization at <http://sahajayoga.org> ... <http://why-compete.org> ?
Victory to the Divine Mother!!
More information about the gstreamer-devel
mailing list