GNOME Bugzilla – Bug 325732
[oggdemux] problem when seeking to time less than 4s with ogm
Last modified: 2006-02-25 10:34:10 UTC
When I use my usual test program : http://www.iecn.u-nancy.fr/~torri/files/gstreamer_seek/seek.c with an ogm file, and when I seek to times less than 4s, then I get the message: (seek:17173): GStreamer-CRITICAL **: gst_object_unref: assertion `GST_IS_OBJECT (object)' failed You can test that with the program above and the file: http://www.iecn.u-nancy.fr/~torri/files/gstreamer_pb/blood.ogm it comes from gstoggdemux.c, line 1664, when target is decreased from a time of 4s, that is, when target is equal to 0, actually. i've tried to fix that but i don't understand how the seek works. If someone can tell me what to look at, maybe i'll try to fix that.
confirming. To test change the line that gets the framerate with: gst_structure_get_fraction (structure, "framerate", &num, &den); framerate = num / den; bracktrace with fatal_warnings:
+ Trace 66320
The warning should be fixed with this commit: 2006-02-19 Luca Ognibene <luogni@tin.it> * ext/ogg/gstogmparse.c (gst_ogm_parse_chain): there's no need to call gst_object_unref if i remove the pad with gst_element_remove_pad (fix warning on #325732)
close the bug..