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 516520 - [gnomevfs] Seeking support for non-local URIs
[gnomevfs] Seeking support for non-local URIs
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-14 18:45 UTC by Sebastian Dröge (slomo)
Modified: 2008-02-15 05:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-vfs-seek.diff (728 bytes, patch)
2008-02-14 18:46 UTC, Sebastian Dröge (slomo)
none Details | Review

Description Sebastian Dröge (slomo) 2008-02-14 18:45:58 UTC
Hi,
currently gnomevfssrc doesn't support seeking at all for non local URIs. We have to open with GNOME_VFS_OPEN_RANDOM to get seeking support at all.

Attached patch fixes this, please test very hard and report any issues :)
Comment 1 Sebastian Dröge (slomo) 2008-02-14 18:46:20 UTC
Created attachment 105267 [details] [review]
gnome-vfs-seek.diff
Comment 2 Sebastian Dröge (slomo) 2008-02-15 05:22:53 UTC
Ok, so this is fixed now in gnome-vfs as it actually is a gnome-vfs bug :)

While the docs say that one doesn't get seeking when GNOME_VFS_OPEN_RANDOM is not given no module other than http did this in the past but instead allowed seeking always. And then the http module failed to open an URI with _OPEN_RANDOM if the server does not support seeking while instead it should just fail on seeks then.

This revision fixes it:
http://svn.gnome.org/viewvc/gnome-vfs?view=revision&revision=5446


No changes to gnomevfssrc are necessary at all :)