[gstreamer-bugs] [Bug 372797] Seek on DVD not performed relative to title

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Nov 20 04:53:25 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=372797

  GStreamer | gst-plugins-ugly | Ver: 0.10.4





------- Comment #16 from Tim-Philipp Müller  2006-11-20 12:52 UTC -------
> ... In its real world usage only FORMAT_TIME is of interest,
> so the other cruft might as well be removed.
> 
> On that note I have a question for you: is there any reason that a push source
> need to be able to handle a GST_QUERY_CONVERT query?  I my tests with Totem,
> Thoggen, and KungFu, gst_dvd_read_src_do_convert_query() is never getting
> called.  I guess in particular, is there any reason that dvdreadsrc needs
> handle GST_QUERY_CONVERT queries, in terms of what dvddemux and mpeg2dec
> expect?

Three reasons as far as I can see:

 - dvdreadsrc should be able to handle seeks in BYTE format for
   reasons of backwards compatibility. This does not affect your
   new differently-named element of course.

 - GstBaseSrc will attempt a conversion to TIME when it gets a
   seek in a non-TIME format. This includes things like a seek
   in chapter format to a specific chapter (we don't have an
   interface for this kind of stuff, so we're stuck doing this
   via a seek at the moment).

 - an application might want to know an approximate time offset
   for a certain chapter (although I don't know of any apps that
   use something like this yet, besides the above test case).


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list