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 709077 - 7.3.157.9: Wrong error code when seeking beyond end
7.3.157.9: Wrong error code when seeking beyond end
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: GstPlaybin plugin
git master
Other Linux
: Normal normal
: ---
Assigned To: rygel-maint
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2013-09-30 09:27 UTC by Jens Georg
Modified: 2013-09-30 09:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
renderer: Use proper error-code on wrong seek (1.45 KB, patch)
2013-09-30 09:38 UTC, Jens Georg
committed Details | Review
renderer-gst: Check seek target (1.15 KB, patch)
2013-09-30 09:38 UTC, Jens Georg
committed Details | Review

Description Jens Georg 2013-09-30 09:27:55 UTC
We use 710, should be 711.
Comment 1 Jens Georg 2013-09-30 09:38:37 UTC
Created attachment 256061 [details] [review]
renderer: Use proper error-code on wrong seek

We were using 710 (Illegal seek mode) instead of the correct 711 (Illegal
seek target)

This fixes 7.3.157.9
Comment 2 Jens Georg 2013-09-30 09:38:41 UTC
Created attachment 256062 [details] [review]
renderer-gst: Check seek target

The seek call on playbin doesn't fail when seeking beyond the end of the file
and just switches to EOS.
Comment 3 Jens Georg 2013-09-30 09:53:52 UTC
Attachment 256061 [details] pushed as 2889032 - renderer: Use proper error-code on wrong seek
Attachment 256062 [details] pushed as a790174 - renderer-gst: Check seek target