[gstreamer-bugs] [Bug 540890] Need generic way of handling multi-track/chapters files

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Aug 5 22:45:00 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=540890
  GStreamer | gstreamer (core) | git

--- Comment #53 from Alexander Saprykin <xelfium at gmail.com> 2010-08-06 05:44:56 UTC ---
(In reply to comment #52)
> (In reply to comment #50)
> > > There's no need for the format, start and stop values now with the TOC select
> > > event. You can remove them.
> > 
> > I think that these values would be useful for some reasons:
> > 
> > 1. To seek to appropriate time in TOC select event handling. Otherwise how can
> > I get time for particular UID?
> 
> Well, you would put the UID into the TOC select event and the element would
> then handle everything needed, e.g. the conversion to time or something else.
> For a playlist element there wouldn't be any times for example.

If I remove start/stop/format values, then element will have to store time data
(start/stop if any) related to every UID somewhere in internal structure. And
after receiving TOC select event element will look in that internal structure
(and not in the TOC) to find positions for particalur UID. Is that right?

> > 2. It would be useful for applications to display start/stop positions of the
> > chapters/tracks.
> 
> Right, that might be useful. But for that we could put something into the
> GstStructure because it's not something generic but only useful for some
> elements.

Well, we can think of it after I'll take care for other stuff :)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list