Commit graph

21 commits

Author SHA1 Message Date
Thiago Santos
e8110b7167 audiodecoders: use default pad accept-caps handling
Avoids useless check of downstream caps when handling an
accept-caps query

Elements: dtsdec, faad, gsmdec, mpg123audiodec, opusdec,
          sbcdec, adpcmdec, sirendec
2016-02-16 10:40:40 +00:00
Tim-Philipp Müller
b344d7ba47 Remove obsolete Android build cruft
This is not needed any longer.
2016-02-16 10:40:40 +00:00
Tim-Philipp Müller
e42f8627b6 mpg123: fix compiler warning and simplify checks in set_caps
https://bugzilla.gnome.org/show_bug.cgi?id=740195
2016-02-16 10:40:40 +00:00
Carlos Rafael Giani
2fe38328d2 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
2016-02-16 10:40:40 +00:00
Tim-Philipp Müller
bbd6b14d46 Fix up one-element lists in template caps 2016-02-16 10:40:39 +00:00
Carlos Rafael Giani
387e6480d6 mpg123: improved error report and checks
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
2016-02-16 10:40:39 +00:00
Sebastian Dröge
04e05eb93f mpg123audiodec: Require caps to be set before any data processing 2016-02-16 10:40:39 +00:00
Edward Hervey
f383e63beb mpg123: Remove dead assignment
harder ? :)
2016-02-16 10:40:39 +00:00
Sebastian Dröge
0f5461be15 gst: Add better support for static plugins 2016-02-16 10:40:39 +00:00
David Schleef
773092940d mpg123: Add conditional on API version for new enum 2016-02-16 10:40:39 +00:00
Carlos Rafael Giani
3b3d75ecf6 mpg123: removed unnecessary finalize function
https://bugzilla.gnome.org/show_bug.cgi?id=687176
2012-10-30 10:15:14 +00:00
Jan Schmidt
df5a176b5b mpg123: Fix leaks from not chaining up in the finalize function 2012-10-30 10:20:09 +11:00
Carlos Rafael Giani
98b2303a3d mpg123: added gtkdoc section
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:43:23 +01:00
Carlos Rafael Giani
27e4af5c84 mpg123: fixed bug with last frame, disabled internal resampler & chatter
* The last MP3 frame wasn't being pushed when base class was draining
* Made sure mpg123 cannot ever use its (crude) internal resampler
* Disabled mpg123 stderr output

https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:43:16 +01:00
Carlos Rafael Giani
7a801e1022 mpg123: cleaned up comments, formatting, and logging lines
also replaced mpg123decoder->handle != NULL checks with asserts

https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 11:59:19 +01:00
Sebastian Dröge
264ec5c74b mpg123: Give MARGINAL rank to the mpg123 decoder element 2012-08-09 11:48:39 +02:00
Tim-Philipp Müller
189e8d5a50 mpg123: dist header file 2012-08-08 12:58:50 +01:00
Tim-Philipp Müller
cef7f52b80 mpg123: map input buffer in READ mode, not WRITE mode
Makes things actually work.
2012-08-03 13:43:31 +01:00
Tim-Philipp Müller
99c6ceff03 mpg123: query supported output formats at run-time
Fixes stuff. We use a string here since we can't be bothered
with GValue.
2012-08-03 13:38:05 +01:00
Tim-Philipp Müller
1b3603c0f9 mpg123: hook up to build system 2012-08-03 11:52:49 +01:00
Carlos Rafael Giani
d7fa53d5d4 mpg123: add new libmpg123-based mp3 decoder plugin
Needs a bit of cleaning up.

https://bugzilla.gnome.org/show_bug.cgi?id=681003
2012-08-03 11:52:11 +01:00