platform/upstream/gst-plugins-good.git
11 years agoRemove -DGST_USE_UNSTABLE_API
Tim-Philipp Müller [Mon, 17 Sep 2012 15:57:30 +0000 (16:57 +0100)]
Remove -DGST_USE_UNSTABLE_API

11 years agogst_tag_list_free -> gst_tag_list_unref
Tim-Philipp Müller [Sat, 4 Aug 2012 15:13:36 +0000 (16:13 +0100)]
gst_tag_list_free -> gst_tag_list_unref

12 years agoUse new gst_element_class_set_static_metadata()
Tim-Philipp Müller [Mon, 9 Apr 2012 23:47:44 +0000 (00:47 +0100)]
Use new gst_element_class_set_static_metadata()

12 years agogst: Update for GST_PLUGIN_DEFINE() API changes
Sebastian Dröge [Thu, 5 Apr 2012 15:40:12 +0000 (17:40 +0200)]
gst: Update for GST_PLUGIN_DEFINE() API changes

12 years agogst: Update versioning
Sebastian Dröge [Wed, 4 Apr 2012 12:38:53 +0000 (14:38 +0200)]
gst: Update versioning

12 years agoupdate for memory api changes
Wim Taymans [Thu, 15 Mar 2012 12:38:16 +0000 (13:38 +0100)]
update for memory api changes

12 years agoamrwbdec, lame, mad: link to libgstbase
Alessandro Decina [Mon, 27 Feb 2012 05:35:01 +0000 (06:35 +0100)]
amrwbdec, lame, mad: link to libgstbase

12 years agolame: Use new audio encoder/decoder base class API for srcpad caps
Sebastian Dröge [Wed, 1 Feb 2012 15:20:26 +0000 (16:20 +0100)]
lame: Use new audio encoder/decoder base class API for srcpad caps

12 years agoport to new memory API
Wim Taymans [Wed, 25 Jan 2012 06:24:59 +0000 (07:24 +0100)]
port to new memory API

12 years agoMerge branch 'master' into 0.11
Sebastian Dröge [Tue, 10 Jan 2012 14:17:11 +0000 (15:17 +0100)]
Merge branch 'master' into 0.11

Conflicts:
ext/a52dec/gsta52dec.c
ext/a52dec/gsta52dec.h
ext/lame/gstlame.c
ext/lame/gstlame.h
ext/lame/gstlamemp3enc.c
ext/mad/gstmad.c
ext/mad/gstmad.h
gst/mpegaudioparse/gstmpegaudioparse.c
gst/mpegstream/gstdvddemux.c
gst/realmedia/rdtdepay.c
po/es.po
po/lv.po
po/sr.po

12 years agolamemp3enc: Update for the new raw audio caps
Sebastian Dröge [Wed, 4 Jan 2012 14:45:43 +0000 (15:45 +0100)]
lamemp3enc: Update for the new raw audio caps

12 years agolame: fix LIBADD order in Makefile.am
Tim-Philipp Müller [Wed, 4 Jan 2012 17:05:32 +0000 (17:05 +0000)]
lame: fix LIBADD order in Makefile.am

12 years agolame: fix printf format in debug statements
Tim-Philipp Müller [Tue, 27 Dec 2011 22:54:34 +0000 (22:54 +0000)]
lame: fix printf format in debug statements

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

12 years agolame: ensure parsed output
Mark Nauwelaerts [Mon, 26 Dec 2011 17:24:32 +0000 (18:24 +0100)]
lame: ensure parsed output

... by doing some basic parsing of encoded lame data.

12 years agolame: cleanup unused instance struct fields
Mark Nauwelaerts [Mon, 26 Dec 2011 15:34:01 +0000 (16:34 +0100)]
lame: cleanup unused instance struct fields

12 years agolamemp3enc: ensure parsed output
Mark Nauwelaerts [Mon, 26 Dec 2011 17:23:52 +0000 (18:23 +0100)]
lamemp3enc: ensure parsed output

... by doing some basic parsing of encoded lame data.

Fixes #652150.

12 years agolamemp3enc: do not leak merged tags
Mark Nauwelaerts [Mon, 26 Dec 2011 17:15:41 +0000 (18:15 +0100)]
lamemp3enc: do not leak merged tags

12 years agoMerge remote-tracking branch 'origin/master' into 0.11
Tim-Philipp Müller [Mon, 28 Nov 2011 21:31:25 +0000 (21:31 +0000)]
Merge remote-tracking branch 'origin/master' into 0.11

12 years agovarious: fix pad template ref leaks
Vincent Penquerc'h [Mon, 28 Nov 2011 13:10:01 +0000 (13:10 +0000)]
various: fix pad template ref leaks

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

12 years agoext: fix more printf format warnings in debug messages
Tim-Philipp Müller [Wed, 23 Nov 2011 23:29:03 +0000 (23:29 +0000)]
ext: fix more printf format warnings in debug messages

12 years agolamemp3enc: cosmetic error message change
Tim-Philipp Müller [Fri, 11 Nov 2011 01:27:47 +0000 (01:27 +0000)]
lamemp3enc: cosmetic error message change

LET'S TRY TO KEEP CAPITALS TO A MINIMUM.

12 years agolame: remove lame element, it's been superseded by lamemp3enc
Tim-Philipp Müller [Sun, 30 Oct 2011 12:29:14 +0000 (12:29 +0000)]
lame: remove lame element, it's been superseded by lamemp3enc

12 years agoext, gst: update for taglist API changes
Tim-Philipp Müller [Sun, 30 Oct 2011 11:51:58 +0000 (11:51 +0000)]
ext, gst: update for taglist API changes

12 years agolame: fix raw audio caps too
Wim Taymans [Tue, 27 Sep 2011 16:19:50 +0000 (18:19 +0200)]
lame: fix raw audio caps too

12 years agolame: port to 0.11
Wim Taymans [Tue, 27 Sep 2011 16:15:00 +0000 (18:15 +0200)]
lame: port to 0.11

12 years agolame: Don't get the parent class again, GST_BOILERPLATE does this already
Sebastian Dröge [Mon, 26 Sep 2011 14:08:20 +0000 (16:08 +0200)]
lame: Don't get the parent class again, GST_BOILERPLATE does this already

12 years agolame: Fix variable 'gstelement_class' set but not used compiler warning
Sebastian Dröge [Mon, 26 Sep 2011 14:07:54 +0000 (16:07 +0200)]
lame: Fix variable 'gstelement_class' set but not used compiler warning

12 years agolame: use some more boilerplate
Mark Nauwelaerts [Fri, 23 Sep 2011 13:32:01 +0000 (15:32 +0200)]
lame: use some more boilerplate

12 years agolame: port to audioencoder
Mark Nauwelaerts [Fri, 23 Sep 2011 13:26:48 +0000 (15:26 +0200)]
lame: port to audioencoder

12 years agolamemp3enc: use some more boilerplate
Mark Nauwelaerts [Fri, 23 Sep 2011 12:33:55 +0000 (14:33 +0200)]
lamemp3enc: use some more boilerplate

12 years agolamemp3enc: really report bitrate rather kbitrate
Mark Nauwelaerts [Mon, 26 Sep 2011 12:44:23 +0000 (14:44 +0200)]
lamemp3enc: really report bitrate rather kbitrate

12 years agolamemp3enc: port to audioencoder
Mark Nauwelaerts [Mon, 26 Sep 2011 12:44:01 +0000 (14:44 +0200)]
lamemp3enc: port to audioencoder

13 years agolamemp3enc: Post CODEC and BITRATE tags
Sebastian Dröge [Wed, 18 May 2011 12:49:17 +0000 (14:49 +0200)]
lamemp3enc: Post CODEC and BITRATE tags

Also filter any CODEC/AUDIO_CODEC tags from incoming
tag events.

Fixes bug #391543.

13 years agotests: add unit test for lamemp3enc negotiation issue
Tim-Philipp Müller [Thu, 3 Feb 2011 18:25:00 +0000 (18:25 +0000)]
tests: add unit test for lamemp3enc negotiation issue

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

13 years agolamemp3enc: implement sinkpad get_caps() function to proxy rate and channels restrict...
Tim-Philipp Müller [Thu, 3 Feb 2011 18:18:35 +0000 (18:18 +0000)]
lamemp3enc: implement sinkpad get_caps() function to proxy rate and channels restrictions from downstream

The element downstream of mp3enc might only accept certain sample rates or channels,
make sure we relay any restrictions that do exist to upstream when it does a
get_caps() on the sink pad. That way upstream elements like audioresample or
audioconvert can pick a sample rate / channel configuration that will be accepted,
instead of just negotiating to the highest, which might then be rejected.

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

13 years agocheck: don't use deprecated method
Wim Taymans [Tue, 7 Dec 2010 14:39:32 +0000 (15:39 +0100)]
check: don't use deprecated method

13 years agovarious: canonicalize property names
Stefan Kost [Tue, 19 Oct 2010 09:20:40 +0000 (12:20 +0300)]
various: canonicalize property names

13 years agovarious (ext): add a missing G_PARAM_STATIC_STRINGS flags
Stefan Kost [Tue, 19 Oct 2010 07:06:33 +0000 (10:06 +0300)]
various (ext): add a missing G_PARAM_STATIC_STRINGS flags

14 years agolamemp3enc: implement latency query
Tristan Matthews [Thu, 20 May 2010 15:28:47 +0000 (11:28 -0400)]
lamemp3enc: implement latency query

    The encoder's latency is deduced from the framesize. Fixes #618896.

14 years agobuild: Add all kinds of compiler warning flags and fix the resulting warnings
Sebastian Dröge [Wed, 24 Mar 2010 10:27:40 +0000 (11:27 +0100)]
build: Add all kinds of compiler warning flags and fix the resulting warnings

14 years agogst_element_class_set_details => gst_element_class_set_details_simple
Benjamin Otte [Thu, 18 Mar 2010 14:53:14 +0000 (15:53 +0100)]
gst_element_class_set_details => gst_element_class_set_details_simple

14 years agolame: Avoid crash when seeking before negotiating
Thiago Santos [Wed, 2 Dec 2009 14:21:22 +0000 (11:21 -0300)]
lame: Avoid crash when seeking before negotiating

lame's 'lgv' variable is only initialized when the caps
is negotiated, whenever a seek happens before that, it would
attempt to call a function on an empty pointer, causing the crash.

Fixes #603515

15 years agolamemp3enc: Improve debugging a bit
Sebastian Dröge [Thu, 14 May 2009 10:32:16 +0000 (12:32 +0200)]
lamemp3enc: Improve debugging a bit

15 years agolamemp3enc: add Since tag to gtk-doc chunk
Tim-Philipp Müller [Tue, 12 May 2009 18:22:07 +0000 (19:22 +0100)]
lamemp3enc: add Since tag to gtk-doc chunk

15 years agolamemp3enc: Don't write a Xing header
Sebastian Dröge [Sun, 10 May 2009 14:53:07 +0000 (16:53 +0200)]
lamemp3enc: Don't write a Xing header

15 years agoAdd ranks to mp3 encoders
Christian Schaller [Thu, 7 May 2009 16:59:52 +0000 (17:59 +0100)]
Add ranks to mp3 encoders

15 years agolamemp3enc: Fixup the bitrate only for CBR
Sebastian Dröge [Thu, 7 May 2009 08:10:02 +0000 (10:10 +0200)]
lamemp3enc: Fixup the bitrate only for CBR

Additionally clarify some property descriptions.

15 years agolame: fix format string in debug statement
Alessandro Decina [Wed, 6 May 2009 19:47:17 +0000 (21:47 +0200)]
lame: fix format string in debug statement

15 years agolame: fix compilation with LAME versions < 3.98
Tim-Philipp Müller [Tue, 5 May 2009 15:38:19 +0000 (16:38 +0100)]
lame: fix compilation with LAME versions < 3.98

lame_set_VBR_quality(), which takes a floating point value for the
quality, has been added only in v3.98. Use lame_set_VBR_q(), which
takes quality as an integer, for older LAME versions.

Fixes #581341.

15 years agolamemp3enc: Add a note to the encoding-engine-quality property
Sebastian Dröge [Mon, 4 May 2009 10:51:29 +0000 (12:51 +0200)]
lamemp3enc: Add a note to the encoding-engine-quality property

that says, that this does not affect the bitrate at all.

15 years agolame: Implement preset interface
Sebastian Dröge [Mon, 4 May 2009 10:48:43 +0000 (12:48 +0200)]
lame: Implement preset interface

15 years agolamemp3enc: Remove fast-vbr property and rename vbr-quality to quality
Sebastian Dröge [Thu, 30 Apr 2009 08:21:40 +0000 (10:21 +0200)]
lamemp3enc: Remove fast-vbr property and rename vbr-quality to quality

15 years agolame/lamemp3enc: Fix memory leak on FLUSH_STOP
Sebastian Dröge [Thu, 30 Apr 2009 08:16:45 +0000 (10:16 +0200)]
lame/lamemp3enc: Fix memory leak on FLUSH_STOP

15 years agolame: Deprecate the lame element
Sebastian Dröge [Thu, 30 Apr 2009 08:14:54 +0000 (10:14 +0200)]
lame: Deprecate the lame element

15 years agolame: Update example pipelines with the new properties
Sebastian Dröge [Thu, 30 Apr 2009 08:10:08 +0000 (10:10 +0200)]
lame: Update example pipelines with the new properties

15 years agolame: Add lamemp3enc element with much simplified interface
Sebastian Dröge [Wed, 29 Apr 2009 17:01:44 +0000 (19:01 +0200)]
lame: Add lamemp3enc element with much simplified interface

This deprecates the lame element and fixes bug #494528.

15 years agolame: Remove unneeded variable, it's assigned a value never read.
Edward Hervey [Sun, 19 Apr 2009 12:02:03 +0000 (14:02 +0200)]
lame: Remove unneeded variable, it's assigned a value never read.

15 years agoDon't install static libs for plugins. Fixes #550851 for ugly.
Stefan Kost [Mon, 13 Oct 2008 18:10:25 +0000 (18:10 +0000)]
Don't install static libs for plugins. Fixes #550851 for ugly.

Original commit message from CVS:
* ext/a52dec/Makefile.am:
* ext/amrnb/Makefile.am:
* ext/cdio/Makefile.am:
* ext/dvdnav/Makefile.am:
* ext/dvdread/Makefile.am:
* ext/lame/Makefile.am:
* ext/mad/Makefile.am:
* ext/mpeg2dec/Makefile.am:
* ext/sidplay/Makefile.am:
* gst/ac3parse/Makefile.am:
* gst/asfdemux/Makefile.am:
* gst/dvdlpcmdec/Makefile.am:
* gst/dvdsub/Makefile.am:
* gst/iec958/Makefile.am:
* gst/mpegaudioparse/Makefile.am:
* gst/mpegstream/Makefile.am:
* gst/realmedia/Makefile.am:
* gst/synaesthesia/Makefile.am:
Don't install static libs for plugins. Fixes #550851 for ugly.

15 years agoMake sure gettext returns translations in UTF-8 encoding rather than in the current...
Frederic Crozat [Thu, 7 Aug 2008 16:14:42 +0000 (16:14 +0000)]
Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).

Original commit message from CVS:
Patch by: Frederic Crozat <fcrozat@mandriva.org>
* ext/dvdread/dvdreadsrc.c: (plugin_init):
* ext/lame/gstlame.c: (plugin_init):
* gst/asfdemux/gstasf.c: (plugin_init):
Make sure gettext returns translations in UTF-8 encoding rather
than in the current locale encoding (#546822).

15 years agoext/lame/gstlame.c: Use the default for the strict-iso property too.
Sebastian Dröge [Thu, 31 Jul 2008 14:24:27 +0000 (14:24 +0000)]
ext/lame/gstlame.c: Use the default for the strict-iso property too.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_class_init),
(gst_lame_get_default_settings):
Use the default for the strict-iso property too.
Allow a bitrate setting of 0, which lets lame choose the default value
and which makes it possible to set the compression-ratio property.

15 years agoext/lame/gstlame.*: Get the defaults settings of LAME in the plugin initialization...
Sebastian Dröge [Tue, 29 Jul 2008 16:57:16 +0000 (16:57 +0000)]
ext/lame/gstlame.*: Get the defaults settings of LAME in the plugin initialization function and return FALSE here if ...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_class_init), (gst_lame_init),
(gst_lame_chain), (gst_lame_get_default_settings), (plugin_init):
* ext/lame/gstlame.h:
Get the defaults settings of LAME in the plugin initialization
function and return FALSE here if something goes wrong. This removes
the hacky failing instance init function.
Use LAMEs default value for all settings instead of overwriting some
of them. Overwriting some of them gives unexpected results if one only
sets a preset. Fixes bug #498004.

15 years agoext/lame/gstlame.c: Use LAME's default for the min/max/mean VBR bitrate. Setting...
Sebastian Dröge [Sun, 27 Jul 2008 15:56:27 +0000 (15:56 +0000)]
ext/lame/gstlame.c: Use LAME's default for the min/max/mean VBR bitrate. Setting our own defaults will restrict the b...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_init):
Use LAME's default for the min/max/mean VBR bitrate. Setting our own
defaults will restrict the bitrate when using the presets in a bad way.
Fixes bug #498004.

15 years agoPut the MPEG audio version into the caps as "mpegaudioversion".
Sebastian Dröge [Sun, 27 Jul 2008 11:01:12 +0000 (11:01 +0000)]
Put the MPEG audio version into the caps as "mpegaudioversion".

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps):
* gst/mpegaudioparse/gstmpegaudioparse.c:
(mp3_type_frame_length_from_header), (mp3_caps_create),
(gst_mp3parse_chain):
Put the MPEG audio version into the caps as "mpegaudioversion".
This is different from "mpegversion".

15 years agoext/lame/gstlame.*: Fix build with lame >= 3.97. The padding type and cwlimit setting...
Sebastian Dröge [Tue, 22 Jul 2008 18:25:08 +0000 (18:25 +0000)]
ext/lame/gstlame.*: Fix build with lame >= 3.97. The padding type and cwlimit settings are deprecated now and the fun...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_class_init), (gst_lame_init),
(gst_lame_set_property), (gst_lame_get_property), (gst_lame_setup):
* ext/lame/gstlame.h:
Fix build with lame >= 3.97. The padding type and cwlimit settings
are deprecated now and the function declarations are hidden in the
headers so deprecate the GObject properties for them and remove them
in 0.11. Fixes bug #544039.

16 years agoAdd missing elements to docs. Restore alphabetical order in section file. Document...
Stefan Kost [Fri, 13 Jun 2008 06:57:21 +0000 (06:57 +0000)]
Add missing elements to docs. Restore alphabetical order in section file. Document mad (it was included in docs alrea...

Original commit message from CVS:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* ext/a52dec/gsta52dec.c:
* ext/amrnb/amrnbdec.c:
* ext/amrnb/amrnbenc.c:
* ext/amrnb/amrnbparse.c:
* ext/lame/gstlame.c:
* ext/mad/gstmad.c:
* ext/sidplay/gstsiddec.cc:
* gst/asfdemux/gstrtspwms.c:
* gst/mpegaudioparse/gstxingmux.c:
* gst/realmedia/rademux.c:
* gst/realmedia/rdtmanager.c:
* gst/realmedia/rtspreal.c:
* gst/synaesthesia/gstsynaesthesia.c:
Add missing elements to docs. Restore alphabetical order in section
file. Document mad (it was included in docs already).
Fix doc-markup: use convinience syntax for examples
(produces valid docbook), add several refsec2 when we have several
titles. Fix some types.

16 years agoDo not use short_description in section docs for elements. We extract them from eleme...
Stefan Kost [Fri, 13 Jun 2008 05:52:17 +0000 (05:52 +0000)]
Do not use short_description in section docs for elements. We extract them from element details and there will be war...

Original commit message from CVS:
* ext/lame/gstlame.c:
* ext/sidplay/gstsiddec.cc:
* gst/mpegaudioparse/gstxingmux.c:
Do not use short_description in section docs for elements. We extract
them from element details and there will be warnings if they differ.

16 years agoext/lame/gstlame.c: Fix broken GST_ELEMENT_ERROR macro, fixes compile with the Sun
Tim-Philipp Müller [Fri, 22 Feb 2008 14:55:57 +0000 (14:55 +0000)]
ext/lame/gstlame.c: Fix broken GST_ELEMENT_ERROR macro, fixes compile with the Sun

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps):
Fix broken GST_ELEMENT_ERROR macro, fixes compile with the Sun
Workshop 12 compiler, but probably also crashes (#517985).

16 years agoext/lame/gstlame.c: Don't leak the allowed caps.
Sebastian Dröge [Mon, 11 Feb 2008 09:13:33 +0000 (09:13 +0000)]
ext/lame/gstlame.c: Don't leak the allowed caps.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_setup):
Don't leak the allowed caps.
* tests/check/pipelines/lame.c: (GST_START_TEST):
Stop leaking all buffers. Fixes bug #515575.

16 years agoext/lame/gstlame.*: Fix the case where you initially have stereo input, and so lame...
Zaheer Abbas Merali [Thu, 17 Jan 2008 17:26:48 +0000 (17:26 +0000)]
ext/lame/gstlame.*: Fix the case where you initially have stereo input, and so lame's mode is not set to mono, and th...

Original commit message from CVS:
* ext/lame/gstlame.c:
* ext/lame/gstlame.h:
Fix the case where you initially have stereo input, and so lame's
mode is not set to mono, and then you get input with mono audio and
soon after you get stereo input again. What happened before this
commit is that it would keep the encoding mode as mono. It should
change it back to the one requested by the app (or the default one)
if not requested.

16 years agoext/lame/gstlame.c: Use gst_util_uint64_scale instead of gst_util_uint64_scale_int...
Sebastian Dröge [Mon, 14 Jan 2008 11:24:57 +0000 (11:24 +0000)]
ext/lame/gstlame.c: Use gst_util_uint64_scale instead of gst_util_uint64_scale_int as 8 * GST_SECOND is too large for...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event):
Use gst_util_uint64_scale instead of gst_util_uint64_scale_int
as 8 * GST_SECOND is too large for int.

16 years agoext/lame/gstlame.c: Correctly set number of channels when using mono-encoding mode...
Mark Nauwelaerts [Mon, 14 Jan 2008 09:17:47 +0000 (09:17 +0000)]
ext/lame/gstlame.c: Correctly set number of channels when using mono-encoding mode and fix the duration calculation o...

Original commit message from CVS:
Patch by: Mark Nauwelaerts <manauw at syknet dot be>
* ext/lame/gstlame.c: (gst_lame_sink_setcaps),
(gst_lame_sink_event):
Correctly set number of channels when using mono-encoding mode
and fix the duration calculation of the EOS buffer.

16 years agoext/lame/gstlame.c: Fix up case where there is no peer, in which case _get_allowed_ca...
Tim-Philipp Müller [Wed, 26 Sep 2007 13:40:35 +0000 (13:40 +0000)]
ext/lame/gstlame.c: Fix up case where there is no peer, in which case _get_allowed_caps() will return NULL.

Original commit message from CVS:
* ext/lame/gstlame.c:
Fix up case where there is no peer, in which case
_get_allowed_caps() will return NULL.

16 years agoext/lame/gstlame.c: Use GST_PTR_FORMAT to print caps in debug statement.
Tim-Philipp Müller [Tue, 25 Sep 2007 13:20:27 +0000 (13:20 +0000)]
ext/lame/gstlame.c: Use GST_PTR_FORMAT to print caps in debug statement.

Original commit message from CVS:
* ext/lame/gstlame.c:
Use GST_PTR_FORMAT to print caps in debug statement.

16 years agoext/lame/gstlame.c: Allow fixing the sample rate lame converts to by negotiating...
Thomas Vander Stichele [Mon, 24 Sep 2007 10:26:21 +0000 (10:26 +0000)]
ext/lame/gstlame.c: Allow fixing the sample rate lame converts to by negotiating fixed sample rate on the src pad caps.

Original commit message from CVS:
* ext/lame/gstlame.c:
Allow fixing the sample rate lame converts to by negotiating fixed
sample rate on the src pad caps.
Add docs for it.
* tests/check/Makefile.am:
* tests/check/pipelines/lame.c:
Add a check for it.

17 years agoext/lame/gstlame.c: Disable the bitrate checking when the user has requested
Jan Schmidt [Wed, 21 Mar 2007 12:53:57 +0000 (12:53 +0000)]
ext/lame/gstlame.c: Disable the bitrate checking when the user has requested

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_setup):
Disable the bitrate checking when the user has requested
Free Format mode, as all bitrates less than the maximum
are valid then.

17 years agoext/lame/gstlame.c: Display sensible defaults and limits for the vbr-min/max/mean...
Jan Schmidt [Wed, 28 Feb 2007 18:41:38 +0000 (18:41 +0000)]
ext/lame/gstlame.c: Display sensible defaults and limits for the vbr-min/max/mean properties. Fix the 'hard-limit' VB...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_class_init), (gst_lame_init),
(gst_lame_setup):
Display sensible defaults and limits for the
vbr-min/max/mean properties. Fix the 'hard-limit' VBR min
property - it's supposed to be a boolean 0/1 value.

17 years agoext/lame/gstlame.c: Initialise the variables so gcc doesn't complain about possibly...
Jan Schmidt [Wed, 28 Feb 2007 16:01:08 +0000 (16:01 +0000)]
ext/lame/gstlame.c: Initialise the variables so gcc doesn't complain about possibly uninitialised uses, even though t...

Original commit message from CVS:
* ext/lame/gstlame.c:
Initialise the variables so gcc doesn't complain about possibly
uninitialised uses, even though they can't actually happen.

17 years agoext/lame/gstlame.c: Fix up bitrate checking macro. Make it give us a
Thomas Vander Stichele [Wed, 21 Feb 2007 16:02:33 +0000 (16:02 +0000)]
ext/lame/gstlame.c: Fix up bitrate checking macro.  Make it give us a

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps),
(gst_lame_set_property), (gst_lame_setup):
Fix up bitrate checking macro.  Make it give us a
GST_ELEMENT_WARNING message so the application has a chance of
reporting this to the user.  Move the checking to _setup, so we
are sure it runs in the READY state, when we hope to have a pipeline
and a bus that is not flushing.
This fixes e.g. using 96 kbit/sec as a bitrate.

17 years agoext/lame/gstlame.*: On receiving EOS, we try to push a last buffer with the remaining...
Tim-Philipp Müller [Fri, 9 Feb 2007 16:24:45 +0000 (16:24 +0000)]
ext/lame/gstlame.*: On receiving EOS, we try to push a last buffer with the remaining samples. Don't do that if we go...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event), (gst_lame_chain),
(gst_lame_change_state):
* ext/lame/gstlame.h:
On receiving EOS, we try to push a last buffer with the remaining
samples. Don't do that if we got an unclean flow return on the last
gst_pad_push(), downstream might not handle this very gracefully
(see #403168).
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain):
Pass flow returns upstream (helps #403168).

17 years agoext/lame/gstlame.c: warn when outgoing sample rate is different from incoming
Thomas Vander Stichele [Sat, 30 Dec 2006 20:01:35 +0000 (20:01 +0000)]
ext/lame/gstlame.c: warn when outgoing sample rate is different from incoming

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps), (gst_lame_chain):
warn when outgoing sample rate is different from incoming

17 years agoext/lame/gstlame.*: Fix leak (by calling lame_init_params() before lame_close())...
Roland Kay [Thu, 14 Dec 2006 10:15:24 +0000 (10:15 +0000)]
ext/lame/gstlame.*: Fix leak (by calling lame_init_params() before lame_close()); handle

Original commit message from CVS:
Based on patch by: Roland Kay  <roland.kay at ox compsoc net>
* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_chain),
(gst_lame_setup):
* ext/lame/gstlame.h:
Fix leak (by calling lame_init_params() before lame_close()); handle
NULL return from lame_init() more gracefully. Fixes #385311.

17 years agoext/lame/gstlame.*: Make lame timestamp flushed eos buffer by some additional timesta...
Wim Taymans [Tue, 14 Nov 2006 10:29:37 +0000 (10:29 +0000)]
ext/lame/gstlame.*: Make lame timestamp flushed eos buffer by some additional timestamp accounting. Fixes #374760.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event), (gst_lame_chain),
(gst_lame_change_state):
* ext/lame/gstlame.h:
Make lame timestamp flushed eos buffer by some additional timestamp
accounting. Fixes #374760.

17 years agoext/lame/gstlame.c: Round up not allowed bitrates to the next higher allowed one...
Tim-Philipp Müller [Fri, 13 Oct 2006 14:45:11 +0000 (14:45 +0000)]
ext/lame/gstlame.c: Round up not allowed bitrates to the next higher allowed one (Closes: #361140).

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_set_property):
Round up not allowed bitrates to the next higher allowed one
(Closes: #361140).

17 years agoAdd docs for lame and lame to docs. Specify allowed bitrates in the properties descri...
Tim-Philipp Müller [Fri, 13 Oct 2006 14:19:24 +0000 (14:19 +0000)]
Add docs for lame and lame to docs. Specify allowed bitrates in the properties description (#361140). Canonicalise ob...

Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-ugly-plugins-docs.sgml:
* docs/plugins/gst-plugins-ugly-plugins-sections.txt:
* ext/lame/gstlame.c: (gst_lame_class_init):
* ext/lame/gstlame.h:
Add docs for lame and lame to docs. Specify allowed bitrates
in the properties description (#361140). Canonicalise object
property names (ie. use hyphen instead of underscore).
* docs/plugins/inspect/plugin-a52dec.xml:
* docs/plugins/inspect/plugin-amrnb.xml:
* docs/plugins/inspect/plugin-asf.xml:
* docs/plugins/inspect/plugin-dvdlpcmdec.xml:
* docs/plugins/inspect/plugin-dvdread.xml:
* docs/plugins/inspect/plugin-dvdsub.xml:
* docs/plugins/inspect/plugin-iec958.xml:
* docs/plugins/inspect/plugin-lame.xml:
* docs/plugins/inspect/plugin-mad.xml:
* docs/plugins/inspect/plugin-mpeg2dec.xml:
* docs/plugins/inspect/plugin-mpegaudioparse.xml:
* docs/plugins/inspect/plugin-mpegstream.xml:
* docs/plugins/inspect/plugin-siddec.xml:
Update version to CVS.

17 years agoAdd i18n magic to lame plugin. Throw decent error message when we fail to setup the...
Tim-Philipp Müller [Fri, 13 Oct 2006 10:00:27 +0000 (10:00 +0000)]
Add i18n magic to lame plugin. Throw decent error message when we fail to setup the encoder (#361140, 361151); misc. ...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_setcaps),
(gst_lame_set_property), (gst_lame_get_property), (gst_lame_chain),
(plugin_init):
* po/POTFILES.in:
Add i18n magic to lame plugin. Throw decent error message when we
fail to setup the encoder (#361140, 361151); misc. minor clean-ups.

17 years agoAdd missing GST_LIBS to the link flags
Jan Schmidt [Thu, 31 Aug 2006 13:04:31 +0000 (13:04 +0000)]
Add missing GST_LIBS to the link flags

Original commit message from CVS:
* ext/lame/Makefile.am:
* ext/mpeg2dec/Makefile.am:
* gst/dvdlpcmdec/Makefile.am:
* gst/dvdsub/Makefile.am:
* gst/mpegaudioparse/Makefile.am:
Add missing GST_LIBS to the link flags

17 years agoext/lame/gstlame.c: Fix lame putting lots of 0's at start of mp3. Fixes bug #348786.
Zaheer Abbas Merali [Wed, 26 Jul 2006 17:09:04 +0000 (17:09 +0000)]
ext/lame/gstlame.c: Fix lame putting lots of 0's at start of mp3.  Fixes bug #348786.

Original commit message from CVS:
2006-07-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_setup):
Fix lame putting lots of 0's at start of mp3.  Fixes bug #348786.

18 years agoupdate build files
Thomas Vander Stichele [Sun, 11 Jun 2006 17:08:11 +0000 (17:08 +0000)]
update build files

Original commit message from CVS:
* autogen.sh:
* configure.ac:
* ext/a52dec/Makefile.am:
* ext/dvdnav/Makefile.am:
* ext/dvdread/Makefile.am:
* ext/lame/Makefile.am:
* ext/mad/Makefile.am:
* ext/mpeg2dec/Makefile.am:
* ext/sidplay/Makefile.am:
update build files

18 years agoext/lame/gstlame.*: Remove tag writing from lame (which was completely broken anyway...
Tim-Philipp Müller [Sat, 6 May 2006 11:38:30 +0000 (11:38 +0000)]
ext/lame/gstlame.*: Remove tag writing from lame (which was completely broken anyway, #329184). Leaving GstTagSetter ...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_get_type),
(gst_lame_release_memory), (gst_lame_init), (gst_lame_sink_event),
(gst_lame_setup), (gst_lame_change_state):
* ext/lame/gstlame.h:
Remove tag writing from lame (which was completely broken
anyway, #329184). Leaving GstTagSetter interface around for
now, albeit non-functional. Should be removed completely
in 0.11. Use the 'id3v2mux' plugin from -good for writing
tags.

18 years agoext/lame/gstlame.c: Fix typo (comma vs. semicolon) (#340710).
Andres Salomon [Fri, 5 May 2006 08:23:39 +0000 (08:23 +0000)]
ext/lame/gstlame.c: Fix typo (comma vs. semicolon) (#340710).

Original commit message from CVS:
Patch by: Andres Salomon  <dilinger at debian org>
* ext/lame/gstlame.c: (gst_lame_sink_event):
Fix typo (comma vs. semicolon) (#340710).

18 years agoext/lame/gstlame.c: Don't crash if we get an EOS event before the encoder has been...
Ed Catmur [Fri, 21 Apr 2006 12:40:41 +0000 (12:40 +0000)]
ext/lame/gstlame.c: Don't crash if we get an EOS event before the encoder has been set up (#339287).

Original commit message from CVS:
Patch by: Ed Catmur  <ed at catmur dot co dot uk>
* ext/lame/gstlame.c: (gst_lame_sink_event):
Don't crash if we get an EOS event before the encoder
has been set up (#339287).

18 years agoconfigure.ac: rework similarly to other modules
Thomas Vander Stichele [Sat, 1 Apr 2006 09:54:39 +0000 (09:54 +0000)]
configure.ac: rework similarly to other modules

Original commit message from CVS:

* configure.ac:
rework similarly to other modules
* ext/a52dec/gsta52dec.c:
* ext/amrnb/amrnb.c:
* ext/dvdnav/dvdnavsrc.c:
* ext/dvdread/dvdreadsrc.c:
* ext/lame/gstlame.c:
* ext/mad/gstid3tag.c:
* ext/mpeg2dec/gstmpeg2dec.c:
* ext/sidplay/gstsiddec.cc:
* gst/asfdemux/gstasf.c:
* gst/dvdlpcmdec/gstdvdlpcmdec.c:
* gst/dvdsub/gstdvdsubdec.c:
* gst/iec958/ac3iec.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/mpegstream/gstmpegstream.c:
* gst/realmedia/rmdemux.c: (plugin_init):
use the correct defines

18 years agoext/lame/gstlame.*: Make xingheader property non-functional, it's broken anyway after...
Tim-Philipp Müller [Tue, 28 Mar 2006 16:06:05 +0000 (16:06 +0000)]
ext/lame/gstlame.*: Make xingheader property non-functional, it's broken anyway after all (use xingmux instead).

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_set_property),
(gst_lame_get_property), (gst_lame_setup):
* ext/lame/gstlame.h:
Make xingheader property non-functional, it's broken anyway
after all (use xingmux instead).

18 years agoext/lame/gstlame.c: On EOS, flush encoder and send remaining data. Fix return value...
Tim-Philipp Müller [Tue, 28 Mar 2006 15:10:18 +0000 (15:10 +0000)]
ext/lame/gstlame.c: On EOS, flush encoder and send remaining data. Fix return value handling in sink event function.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event):
On EOS, flush encoder and send remaining data. Fix
return value handling in sink event function.

18 years agoext/lame/gstlame.c: use GST_DEBUG_FUNCPTR more often.
Christophe Fergeau [Wed, 15 Mar 2006 13:43:42 +0000 (13:43 +0000)]
ext/lame/gstlame.c: use GST_DEBUG_FUNCPTR more often.

Original commit message from CVS:
Patch by: Christophe Fergeau  <teuf gnome org>
* ext/lame/gstlame.c: (gst_lame_release_memory),
(gst_lame_finalize), (gst_lame_class_init),
(gst_lame_sink_setcaps), (gst_lame_init), (gst_lame_sink_event),
(gst_lame_change_state):
Fix some memory leaks (#333345), use GST_DEBUG_FUNCPTR more often.

18 years agoext/lame/gstlame.c: mark the xing-header property as BROKEN (see http://bugzilla...
Christophe Fergeau [Sun, 12 Mar 2006 11:00:33 +0000 (11:00 +0000)]
ext/lame/gstlame.c: mark the xing-header property as BROKEN (see bugzilla.gnome.org/show_bug.cgi?id=330317#c19...

Original commit message from CVS:
2006-03-12  Christophe Fergeau  <teuf@gnome.org>

Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>

* ext/lame/gstlame.c: (gst_lame_class_init): mark the xing-header
property as BROKEN (see
http://bugzilla.gnome.org/show_bug.cgi?id=330317#c19 for an
explanation why it's broken).

18 years agoext/lame/gstlame.c: Fix up lame a bit.
Wim Taymans [Thu, 16 Feb 2006 17:16:06 +0000 (17:16 +0000)]
ext/lame/gstlame.c: Fix up lame a bit.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_chain),
(gst_lame_change_state):
Fix up lame a bit.
Apply patch #319782 by Gautier Portet.

18 years agoext/lame/gstlame.*: Contrary to what the const char in the lame API might suggest...
Tim-Philipp Müller [Mon, 23 Jan 2006 18:37:16 +0000 (18:37 +0000)]
ext/lame/gstlame.*: Contrary to what the const char in the lame API might suggest, lame expects us to keep the string...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_finalize), (gst_lame_class_init),
(gst_lame_init), (add_one_tag), (gst_lame_set_metadata):
* ext/lame/gstlame.h:
Contrary to what the const char in the lame API might suggest,
lame expects us to keep the strings we pass to id3tag_set_foo()
around; it doesn't free them either though, so we have to store
them somewhere and free them later when we can be sure lame
doesn't need them any longer.

18 years agoext/lame/gstlame.c: don't pass an uninitialised string pointer to lame if we don...
Tim-Philipp Müller [Mon, 23 Jan 2006 15:02:04 +0000 (15:02 +0000)]
ext/lame/gstlame.c: don't pass an uninitialised string pointer to lame if we don't know how to handle the tag type, a...

Original commit message from CVS:
* ext/lame/gstlame.c: (add_one_tag):
Fix handling of GST_TAG_DATE (#311679), don't pass an
uninitialised string pointer to lame if we don't know
how to handle the tag type, and fix minor memory leak.

18 years agoexpand tabs
Thomas Vander Stichele [Tue, 6 Dec 2005 19:48:07 +0000 (19:48 +0000)]
expand tabs

Original commit message from CVS:
expand tabs