[Bug 740195] mpg123: Handle setting caps if the srcpad is not linked yet
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sun Jan 11 06:33:27 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=740195
GStreamer | gst-plugins-bad | git
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |t.i.m at zen.co.uk
Resolution| |FIXED
Target Milestone|HEAD |1.5.1
--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2015-01-11 14:33:22 UTC ---
commit 9aaf12aae08e7b1d02ec0b0bc365e87a3af67a83
Author: Tim-Philipp Müller <tim at centricular.com>
Date: Sun Jan 11 01:08:08 2015 +0000
mpg123: fix compiler warning and simplify checks in set_caps
https://bugzilla.gnome.org/show_bug.cgi?id=740195
commit ece6426810f9f0fe3173c09e6fab1647c655d77d
Author: Carlos Rafael Giani <dv at pseudoterminal.org>
Date: Sat Jan 3 13:06:45 2015 +0100
mpg123: rework set_format code so mpg123audiodec works with
decodebin/playbin
The old code was using gst_caps_normalize() and was generally overly
complex. Simplify by picking sample rate and number of channels from
upstream and the sample format from the allowed caps. If the format caps
is a list of strins, just pick the first one. And if the srcpad isn't
linked yet, use the default format (S16).
https://bugzilla.gnome.org/show_bug.cgi?id=740195
--
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