[Bug 660170] alsasrc: broken timestamps lead to alsasrc ! audiorate endless loop

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 26 15:36:42 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=660170
  GStreamer | gst-plugins-base | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
         Depends on|                            |635256
            Summary|Excessive CPU Usage When    |alsasrc: broken timestamps
                   |Using `alsasrc ! audiorate' |lead to alsasrc ! audiorate
                   |                            |endless loop
           Severity|critical                    |blocker

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-09-26 22:36:32 UTC ---
It's not excessive CPU usage, it's spinning in an almost-endless loop to insert
samples between timestamp 0 and (almost) infinity, because alsasrc outputs
broken timestamps:

$ gst-launch-0.10 alsasrc ! identity ! queue ! fakesink -v 2>&1 | grep chain |
head -n 2
3528 bytes, timestamp: 5124095:34:33.309596968, offset: 0, offset_end:  441
3528 bytes, timestamp: 5124095:34:33.309596968, offset: 18522, offset_end: 
18963
...

no wonder...

This got broken as part of

 commit 0b774e0b7cf7a8ef1780fb6100228ca6e8ca8bcf
 Author: Pontus Oldberg <pontus.oldberg at invector.se>
 Date:   Mon May 9 11:50:05 2011 +0200

    alsasrc: Improve timestamp accuracy

    Fixes bug #635256.

-- 
Configure bugmail: https://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