[Bug 621897] [oggdemux] reports wrong duration

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 15 07:47:01 PDT 2011

  GStreamer | gst-plugins-base | git

--- Comment #11 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-08-15 14:46:59 UTC ---
Created an attachment (id=193874)
 View: https://bugzilla.gnome.org/attachment.cgi?id=193874
 Review: https://bugzilla.gnome.org/review?bug=621897&attachment=193874

oggdemux: implement push mode seeking

This patch implements seeking in push mode (eg, over the net)
in Ogg, using the double bisection method.
As a side effect, it also fixes duration determination of network
streams, by seeking to the end to check the actual duration.

Known issues:
- Getting an EOS while seeking stops the streaming task, I can't
  find a way to prevent this (eg, by issuing a seek in the event
- Seeking with playbin2 fails for streams with subtitles, something
  causes the multiqueue to fill up (also with the 'sparse' patch).
- Seeking is slow on slow links - byte ranges guesses could be
  made better, decreasing the number of required requests
- If no granule position is found in the last 64 KB of a stream,
  duration will be left unknown (should be pretty rare)

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