After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 628042 - [queue2] [on-disk buffering] seeking outside the current buffered range
[queue2] [on-disk buffering] seeking outside the current buffered range
Status: RESOLVED DUPLICATE of bug 627959
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-26 15:10 UTC by Philippe Normand
Modified: 2010-08-26 15:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for the seek example (594 bytes, patch)
2010-08-26 15:10 UTC, Philippe Normand
none Details | Review

Description Philippe Normand 2010-08-26 15:10:36 UTC
Created attachment 168813 [details] [review]
patch for the seek example

If queue2 is buffering to disk and if a seek is performed after the latest buffered position queue2 fails to forward the seek event upstream so it can be handled by the src element.

The perform_seek_to_offset is not called at all. What I can observe with the seek example (patched, see attached file) is that if i seek 1 minute after the current playback position the video pauses while queue2 downloads the missing data. Playback is resumed when queue2 has buffered enough.

I think that perform_seek_to_offset is not called because find_range() always returns the initial range that was created.

To test (from -base):

./tests/examples/seek/seek 16 http://chaos.troll.no/~tavestbo/webkit/mediaelement/dartmoor.mp4
Comment 1 Wim Taymans 2010-08-26 15:17:58 UTC

*** This bug has been marked as a duplicate of bug 627959 ***