[gstreamer-bugs] [Bug 588915] New: audioresample's output offset counter's initialization could maybe be improved
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Jul 17 15:16:56 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=588915
GStreamer | gst-plugins-base | Ver: git
Summary: audioresample's output offset counter's initialization
could maybe be improved
Product: GStreamer
Version: git
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: kcannon at ligo.caltech.edu
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
audioresample initializes its output sample counter (for populating the output
buffer offsets) by scaling the timestamp of the first input buffer by the input
stream's sample rate. For streams whose timestamps are derived from some
external absolute clock (e.g. security camera feeds, data from scientific
instruments) and therefore don't start at 0, this results in the audioresample
element generating output buffers with "crazy" offsets.
I request that instead of scaling the timestamp of the first buffer by the
sample rate, the ->next_offset field be initialized by scaling the offset of
the burst buffer by the ratio of output to input sample rates. This reproduces
the current behaviour for streams whose timestamps and offsets start at 0 but
produces more useful buffer offsets in streams whose timestamps don't start at
0.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=588915.
More information about the Gstreamer-bugs
mailing list