[Bug 696411] New: audiotestsrc: incorrect data size in last buffer
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Mar 22 10:36:37 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=696411
GStreamer | gst-plugins-base | git
Summary: audiotestsrc: incorrect data size in last buffer
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: ksb at kth.se
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=239567)
--> (https://bugzilla.gnome.org/attachment.cgi?id=239567)
Patch for gstaudiotestsrc.c
In audiotestsrc, the last buffer before EOS may be smaller than the maximum
size. The current code doesn't adjust for this (only sets the duration and
offsets, if this is enough then wavenc is broken).
The test program for bug 676884 can be used for this one too.
I've attached a patch that I hope fixes both bug 676884 and this one.
There might be a way to call gst_buffer_set_size only when necessary but I'm
not sure how to do it in a way that's more efficient than the how it's done
gst_buffer_set_size.
--
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