[Bug 693166] audio encoders fail with 8-bit audio because gst_audio_format_from_caps() is broken for 8-bit audio
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Feb 16 04:50:43 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=693166
GStreamer | gst-plugins-base | unspecified
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Component|don't know |gst-plugins-base
Resolution| |FIXED
Target Milestone|HEAD |0.10.37
Summary|Sound recorder fails w |audio encoders fail with
|request to file GStreamer |8-bit audio because
|bug. |gst_audio_format_from_caps(
| |) is broken for 8-bit audio
--- Comment #8 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-02-16 12:50:39 UTC ---
Thanks, looks like this is a silly bug with 8-bit audio formats (which are
rarely used for music):
commit c5c34dda9b8a71159ca8aee2b5d822b60e0a6ea4
Author: Tim-Philipp Müller <tim at centricular.net>
Date: Sat Feb 16 12:14:31 2013 +0000
audio: fix gst_audio_format_from_caps() for 8-bit formats
The endianness field is not present in 8-bit audio caps, so don't
fail because of that when parsing caps into an GstAudioInfo structure.
And if it is present, it should be ignored, because the format
table we match against has a 0 value for endianness, so we need
to look for 0 as well.
https://bugzilla.gnome.org/show_bug.cgi?id=693166
commit 9362d986a4742cc9afc4ba5110546babf4a1a251
Author: Tim-Philipp Müller <tim at centricular.net>
Date: Sat Feb 16 12:09:53 2013 +0000
audio: fix GST_AUDIO_INFO_ENDIANNESS macro
Unfortunately it's quite unlikely that this fix will ever get released. I would
suggest you upgrade your distro version to one that comes with GStreamer 1.x.
(I also don't know why the pipeline negotiates to 8 bit audio in the first
place in your case)
--
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