[gstreamer-bugs] [Bug 591934] timestamp drift in audioresample

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 21 12:34:32 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=591934



--- Comment #22 from Kipp <kcannon at ligo.caltech.edu> 2009-08-21 19:34:30 UTC ---
(In reply to comment #20)
> (In reply to comment #19)
> > But then, the unit test doesn't work anymore after applying your patch :)
> > 
> > **
> > ERROR:gstaudioresample.c:841:gst_audio_resample_push_drain: assertion failed:
> > (out_len >= out_processed)
> > 57%: Checks: 7, Failures: 2, Errors: 1
> > elements/audioresample.c:155:F:general:test_perfect_stream:0: 'timestamp' (0)
> > is not equal to 'GST_BUFFER_TIMESTAMP (buffer)' (18446744073709551615)
> > elements/audioresample.c:309:F:general:test_discont_stream:0: 'ints' (0) is not
> > equal to 'GST_BUFFER_TIMESTAMP (outbuffer)' (18446744073709551615)
> > elements/audioresample.c:628:E:general:test_pipelines:0: (after this point)
> > Received signal 6 (Abgebrochen)
> > 
> > I'll look into that too (this evening probably), unless you're faster :)
> 
> Ok, the unit test is fixed now. There were some minor bugs at some places. Now
> I'll write the new unit test ;)

Thank you!  Yeah, I don't know what was going on at my end, I just erased
everything, recompiled from scratch, and now it's working again.  I think some
stuff moved between packages and I was maybe getting weird symbol collisions.

Anyway, yeah so then I found that problem you spotted too:  in the unit tests
the resampler isn't always resetting the timestamp tracking info.  Was the
problem with the unit test or the element?  It looks to me like the unit test
isn't always preceding each test stream with a newsegment event, but I don't
know if that's a problem with the unit test or if the element is supposed to
deal with that.

-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list