Jason Litzinger
5d86e1070d
mpg123: fix handling of sample rate change during playback
...
If the sample rate of the media changes, the resulting flush will
clear the has_next_audioinfo flag, and the caps won't be sent
downstream.
https://bugzilla.gnome.org/show_bug.cgi?id=752431
2016-02-16 10:40:40 +00:00
Thiago Santos
2309da4e9c
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
d6082ad2fc
Remove obsolete Android build cruft
...
This is not needed any longer.
2016-02-16 10:40:40 +00:00
Tim-Philipp Müller
02e20d5056
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
4b7a954cae
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
eb89bf4030
Fix up one-element lists in template caps
2016-02-16 10:40:39 +00:00
Tim-Philipp Müller
524c1d23da
tests: fix mpg123audiodec test for big-endian architectures
2016-02-16 10:40:39 +00:00
Carlos Rafael Giani
fc142ba28a
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
056c7bc7c9
mpg123audiodec: Require caps to be set before any data processing
2016-02-16 10:40:39 +00:00
Edward Hervey
fe7f0a6ac7
mpg123: Remove dead assignment
...
harder ? :)
2016-02-16 10:40:39 +00:00
Sebastian Dröge
592e1cbf5d
mpg123audiodec: Fix event handling in unit test
2016-02-16 10:40:39 +00:00
Sebastian Dröge
deffbd375e
gst: Add better support for static plugins
2016-02-16 10:40:39 +00:00
David Schleef
c4399160f6
mpg123: Add conditional on API version for new enum
2016-02-16 10:40:39 +00:00
Tim-Philipp Müller
7ceb643b02
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Carlos Rafael Giani
c966867bf8
mpg123: removed unnecessary finalize function
...
https://bugzilla.gnome.org/show_bug.cgi?id=687176
2012-10-30 10:15:14 +00:00
Jan Schmidt
07c5c2f561
mpg123: Fix leaks from not chaining up in the finalize function
2012-10-30 10:20:09 +11:00
Tim-Philipp Müller
d24e774074
tests: fix up mpg123 test a little
...
- dist input files
- fix sample leak
- simplify check for elements
- only run mpg123 test if mpg123 is available and selected
- fix build in uninstalled setup
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:44:07 +01:00
Carlos Rafael Giani
21bd9a8486
tets: add unit test for mpg123audiodec
...
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:43:29 +01:00
Carlos Rafael Giani
8cf770785a
mpg123: added gtkdoc section
...
https://bugzilla.gnome.org/show_bug.cgi?id=686595
2012-10-24 13:43:23 +01:00
Carlos Rafael Giani
09cda09f9c
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
08707937dd
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
d51a5e7aea
mpg123: Give MARGINAL rank to the mpg123 decoder element
2012-08-09 11:48:39 +02:00
Tim-Philipp Müller
bf33a78dee
mpg123: dist header file
2012-08-08 12:58:50 +01:00
Tim-Philipp Müller
51f79914b5
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
a752d5840f
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
b71fcf6ec1
mpg123: hook up to build system
2012-08-03 11:52:49 +01:00
Carlos Rafael Giani
330d0bd755
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
Thomas Vander Stichele
ca6758350a
building up speed
...
Original commit message from CVS:
building up speed
2001-12-17 18:37:01 +00:00