platform/upstream/gst-plugins-ugly.git
8 years agompg123: still reset pending audio info on hard flush
Tim-Philipp Müller [Mon, 17 Aug 2015 10:50:28 +0000 (11:50 +0100)]
mpg123: still reset pending audio info on hard flush

Follow-up to previous commit.

https://bugzilla.gnome.org/show_bug.cgi?id=752431

8 years agompg123: fix handling of sample rate change during playback
Jason Litzinger [Wed, 15 Jul 2015 16:44:02 +0000 (10:44 -0600)]
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

8 years agoaudiodecoders: use default pad accept-caps handling
Thiago Santos [Sat, 15 Aug 2015 15:58:40 +0000 (12:58 -0300)]
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

8 years agoRemove obsolete Android build cruft
Tim-Philipp Müller [Sun, 26 Apr 2015 17:04:16 +0000 (18:04 +0100)]
Remove obsolete Android build cruft

This is not needed any longer.

8 years agompg123: fix compiler warning and simplify checks in set_caps
Tim-Philipp Müller [Sun, 11 Jan 2015 01:08:08 +0000 (01:08 +0000)]
mpg123: fix compiler warning and simplify checks in set_caps

https://bugzilla.gnome.org/show_bug.cgi?id=740195

8 years agompg123: rework set_format code so mpg123audiodec works with decodebin/playbin
Carlos Rafael Giani [Sat, 3 Jan 2015 12:06:45 +0000 (13:06 +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

8 years agoFix up one-element lists in template caps
Tim-Philipp Müller [Wed, 10 Sep 2014 16:24:39 +0000 (17:24 +0100)]
Fix up one-element lists in template caps

8 years agotests: fix mpg123audiodec test for big-endian architectures
Tim-Philipp Müller [Wed, 5 Mar 2014 00:51:04 +0000 (00:51 +0000)]
tests: fix mpg123audiodec test for big-endian architectures

8 years agompg123: improved error report and checks
Carlos Rafael Giani [Tue, 4 Feb 2014 16:22:27 +0000 (17:22 +0100)]
mpg123: improved error report and checks

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
8 years agompg123audiodec: Require caps to be set before any data processing
Sebastian Dröge [Thu, 5 Dec 2013 11:04:39 +0000 (12:04 +0100)]
mpg123audiodec: Require caps to be set before any data processing

8 years agompg123: Remove dead assignment
Edward Hervey [Fri, 26 Jul 2013 15:25:42 +0000 (17:25 +0200)]
mpg123: Remove dead assignment

harder ? :)

8 years agompg123audiodec: Fix event handling in unit test
Sebastian Dröge [Wed, 15 May 2013 09:25:07 +0000 (11:25 +0200)]
mpg123audiodec: Fix event handling in unit test

8 years agogst: Add better support for static plugins
Sebastian Dröge [Wed, 24 Oct 2012 10:16:39 +0000 (12:16 +0200)]
gst: Add better support for static plugins

8 years agompg123: Add conditional on API version for new enum
David Schleef [Mon, 15 Apr 2013 07:22:39 +0000 (00:22 -0700)]
mpg123: Add conditional on API version for new enum

12 years agoFix FSF address
Tim-Philipp Müller [Sat, 3 Nov 2012 20:38:00 +0000 (20:38 +0000)]
Fix FSF address

https://bugzilla.gnome.org/show_bug.cgi?id=687520

12 years agompg123: removed unnecessary finalize function
Carlos Rafael Giani [Tue, 30 Oct 2012 08:27:24 +0000 (09:27 +0100)]
mpg123: removed unnecessary finalize function

https://bugzilla.gnome.org/show_bug.cgi?id=687176

12 years agompg123: Fix leaks from not chaining up in the finalize function
Jan Schmidt [Mon, 29 Oct 2012 23:20:09 +0000 (10:20 +1100)]
mpg123: Fix leaks from not chaining up in the finalize function

12 years agotests: fix up mpg123 test a little
Tim-Philipp Müller [Wed, 24 Oct 2012 12:41:00 +0000 (13:41 +0100)]
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

12 years agotets: add unit test for mpg123audiodec
Carlos Rafael Giani [Wed, 24 Oct 2012 10:30:10 +0000 (12:30 +0200)]
tets: add unit test for mpg123audiodec

https://bugzilla.gnome.org/show_bug.cgi?id=686595

12 years agompg123: added gtkdoc section
Carlos Rafael Giani [Tue, 23 Oct 2012 22:36:42 +0000 (00:36 +0200)]
mpg123: added gtkdoc section

https://bugzilla.gnome.org/show_bug.cgi?id=686595

12 years agompg123: fixed bug with last frame, disabled internal resampler & chatter
Carlos Rafael Giani [Tue, 23 Oct 2012 22:22:05 +0000 (00:22 +0200)]
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

12 years agompg123: cleaned up comments, formatting, and logging lines
Carlos Rafael Giani [Tue, 23 Oct 2012 22:21:45 +0000 (00:21 +0200)]
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

12 years agompg123: Give MARGINAL rank to the mpg123 decoder element
Sebastian Dröge [Thu, 9 Aug 2012 09:48:39 +0000 (11:48 +0200)]
mpg123: Give MARGINAL rank to the mpg123 decoder element

12 years agompg123: dist header file
Tim-Philipp Müller [Wed, 8 Aug 2012 11:58:50 +0000 (12:58 +0100)]
mpg123: dist header file

12 years agompg123: map input buffer in READ mode, not WRITE mode
Tim-Philipp Müller [Fri, 3 Aug 2012 12:43:31 +0000 (13:43 +0100)]
mpg123: map input buffer in READ mode, not WRITE mode

Makes things actually work.

12 years agompg123: query supported output formats at run-time
Tim-Philipp Müller [Fri, 3 Aug 2012 10:50:10 +0000 (11:50 +0100)]
mpg123: query supported output formats at run-time

Fixes stuff. We use a string here since we can't be bothered
with GValue.

12 years agompg123: hook up to build system
Tim-Philipp Müller [Fri, 3 Aug 2012 10:48:02 +0000 (11:48 +0100)]
mpg123: hook up to build system

12 years agompg123: add new libmpg123-based mp3 decoder plugin
Carlos Rafael Giani [Fri, 3 Aug 2012 10:13:48 +0000 (11:13 +0100)]
mpg123: add new libmpg123-based mp3 decoder plugin

Needs a bit of cleaning up.

https://bugzilla.gnome.org/show_bug.cgi?id=681003

22 years agobuilding up speed
Thomas Vander Stichele [Mon, 17 Dec 2001 18:37:01 +0000 (18:37 +0000)]
building up speed

Original commit message from CVS:
building up speed