[Bug 621897] [oggdemux] reports wrong duration
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Sep 13 08:21:17 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=621897
GStreamer | gst-plugins-base | git
--- Comment #13 from Vincent Penquerc'h <vincent.penquerch at collabora.co.uk> 2011-09-13 15:21:14 UTC ---
Created an attachment (id=196391)
View: https://bugzilla.gnome.org/attachment.cgi?id=196391
Review: https://bugzilla.gnome.org/review?bug=621897&attachment=196391
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
handler).
- Seeking twice in a VERY short succession with playbin2 fails
for streams with subtitles, we end up pushing in a dataqueue
which is flushing. Rare in normal use AFAICT.
- 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