[Bug 776038] New: audioringbuffer: do not require 4 byte multiples for encoded audio
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Dec 13 09:47:47 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=776038
Bug ID: 776038
Summary: audioringbuffer: do not require 4 byte multiples for
encoded audio
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vincent.penquerch at collabora.co.uk
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 341862
--> https://bugzilla.gnome.org/attachment.cgi?id=341862&action=edit
audioringbuffer: do not require 4 byte multiples for encoded audio
I this this makes sense, since encoded audio does not have a concept of
"frames", let alone constant bytes per frame. It fixes a problem I have in some
proprietary (I know :/) code which wants to play encoded audio, but the sink
rejects some packets here:
size = gst_buffer_get_size (buf);
if (G_UNLIKELY (size % bpf) != 0)
goto wrong_size;
With bpf to 1, it all works fine.
Comments ? Objections ?
--
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