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 548898 - GStreamer-CRITICAL errors on seeking beyond stream borders
GStreamer-CRITICAL errors on seeking beyond stream borders
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal normal
: 0.10.21
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-21 18:30 UTC by Johannes Schauer
Modified: 2008-08-22 15:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Johannes Schauer 2008-08-21 18:30:05 UTC
Please describe the problem:
while wondering why an error occurred with the pygst-tutorial code when seeking into negative range or beyond maximum duration i found out that this is somehow specific to a pipeline element used in the tutorial but i investigate further.

as i was told in #gstreamer by wtay this errors shouldnt occur and are a bug

Steps to reproduce:
1. download and run http://pygstdocs.berlios.de/pygst-tutorial/seeking.html
2. feed it with any ogg/vorbis file
3. seek backwards before start or beyond end


Actual results:
seeking to negative:
(test.py:4259): GStreamer-CRITICAL **: gst_element_seek_simple: assertion `seek_pos >= 0' failed

seeking beyond stream duration:
(test.py:4259): GStreamer-CRITICAL **: gst_util_uint64_scale_int: assertion `denom > 0' failed

Expected results:
with other pipelines nothing happens when seeking beyond borders

Does this happen every time?


Other information:
Comment 1 Wim Taymans 2008-08-22 15:54:24 UTC
The first error is because the application performs a seek with a negative value, which is not allowed. 

The second error is because vorbisdec did not clear a variable and is fixed with this:

        * ext/vorbis/vorbisdec.c: (vorbis_dec_change_state):
        Reset variable so that query and convert fail after going back to
        READY. Fixes #548898.