[gstreamer-bugs] [Bug 308312] Make mad plugin implement GST_SEEK_FLAG_ACCURATE

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Feb 9 02:46:04 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=308312
 GStreamer | gst-plugins-ugly | Ver: 0.10.0


Edward Hervey changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bilboed at bilboed.com




------- Comment #7 from Edward Hervey  2006-02-09 10:46 UTC -------
Akos, after chatting with Jan, the proper way to implement this behaviour:

* Generate an index of the mp3 frames [offset, time, duration] as you go along.
This works both for push-based and pull-based behaviours.

* If you want to seek back to a certain position, you know which frame you
need, for which you can request upstream for the frames' time of offset.

* If you want to seek to a position you haven't parsed yet, you keep parsing
the incoming frames (without decoding them) until you have the frame containing
the requested seek start position.

For both behaviours (seek back or forward), you will have to crop the decoded
frame so it starts from the requested seek start position.

Hopes this helps


-- 
Configure bugmail: http://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