GNOME Bugzilla – Bug 548898
GStreamer-CRITICAL errors on seeking beyond stream borders
Last modified: 2008-08-22 15:54:24 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:
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.