platform/upstream/gstreamer.git
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 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

13 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

13 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

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

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

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

13 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

13 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

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

14 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.

16 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.

16 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).

16 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.

16 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.

16 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.

16 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".

16 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.

17 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.

17 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.

17 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.

18 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.

18 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).

18 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.

18 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.

18 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

18 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

18 years agodoh
Thomas Vander Stichele [Tue, 22 Nov 2005 17:15:25 +0000 (17:15 +0000)]
doh

Original commit message from CVS:
doh

18 years agofix up GValueEnum
Thomas Vander Stichele [Tue, 22 Nov 2005 17:04:38 +0000 (17:04 +0000)]
fix up GValueEnum

Original commit message from CVS:
fix up GValueEnum

18 years agoUpdate for gst_tag_setter API changes.
Andy Wingo [Tue, 22 Nov 2005 12:39:29 +0000 (12:39 +0000)]
Update for gst_tag_setter API changes.

Original commit message from CVS:
2005-11-22  Andy Wingo  <wingo@pobox.com>

* Update for gst_tag_setter API changes.

18 years agoext/lame/gstlame.c: Don't take the stream lock
Edward Hervey [Mon, 21 Nov 2005 23:50:02 +0000 (23:50 +0000)]
ext/lame/gstlame.c: Don't take the stream lock

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_event):
Don't take the stream lock

19 years agorenamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition
Stefan Kost [Wed, 12 Oct 2005 14:30:36 +0000 (14:30 +0000)]
renamed GST_FLAGS macros to GST_OBJECT_FLAGS moved bitshift from macro to enum definition

Original commit message from CVS:
* examples/indexing/indexmpeg.c: (main):
* ext/a52dec/gsta52dec.c: (gst_a52dec_init):
* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_is_open),
(dvdnavsrc_set_property), (dvdnavsrc_open), (dvdnavsrc_close),
(dvdnavsrc_event), (dvdnavsrc_convert), (dvdnavsrc_query):
* ext/dvdread/dvdreadsrc.c: (dvdreadsrc_set_property),
(dvdreadsrc_srcpad_query), (dvdreadsrc_get),
(dvdreadsrc_open_file), (dvdreadsrc_close_file):
* ext/dvdread/dvdreadsrc.h:
* ext/lame/gstlame.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_init):
* gst/asfdemux/gstasfmux.c: (gst_asfmux_init):
* gst/iec958/ac3iec.h:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_init):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_init):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_init):
* gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_init):
* gst/synaesthesia/gstsynaesthesia.c: (gst_synaesthesia_init):
renamed GST_FLAGS macros to GST_OBJECT_FLAGS
moved bitshift from macro to enum definition

19 years agoext/lame/gstlame.c: Set caps on outgoing buffers.
Wim Taymans [Mon, 19 Sep 2005 11:07:40 +0000 (11:07 +0000)]
ext/lame/gstlame.c: Set caps on outgoing buffers.

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_chain):
Set caps on outgoing buffers.

19 years agoclean up further so we don't try to set up five times for a simple pipeline
Thomas Vander Stichele [Fri, 16 Sep 2005 16:04:28 +0000 (16:04 +0000)]
clean up further so we don't try to set up five times for a simple pipeline

Original commit message from CVS:
clean up further so we don't try to set up five times for
a simple pipeline

19 years agoAll plugins updated for element state changes.
Andy Wingo [Fri, 2 Sep 2005 15:43:54 +0000 (15:43 +0000)]
All plugins updated for element state changes.

Original commit message from CVS:
2005-09-02  Andy Wingo  <wingo@pobox.com>

* All plugins updated for element state changes.

19 years agoconfigure.ac: Added mpegaudioparse
Wim Taymans [Wed, 17 Aug 2005 19:05:51 +0000 (19:05 +0000)]
configure.ac: Added mpegaudioparse

Original commit message from CVS:
* configure.ac:
Added mpegaudioparse

* ext/lame/gstlame.c: (gst_lame_src_getcaps),
(gst_lame_src_setcaps), (gst_lame_sink_setcaps),
(gst_lame_sink_event), (gst_lame_chain):
Some cleanups.
Fix memleak.

* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_class_init), (gst_mp3parse_init),
(gst_mp3parse_chain), (gst_mp3parse_change_state):
* gst/mpegaudioparse/gstmpegaudioparse.h:
Ported mpegaudioparse

19 years agoFix compile warning.
Wim Taymans [Tue, 16 Aug 2005 16:12:15 +0000 (16:12 +0000)]
Fix compile warning.

Original commit message from CVS:
* configure.ac:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_read_header):
Fix compile warning.

* ext/lame/gstlame.c: (gst_lame_class_init),
(gst_lame_src_getcaps), (gst_lame_src_setcaps),
(gst_lame_sink_setcaps), (gst_lame_init), (gst_lame_sink_event),
(gst_lame_chain), (gst_lame_change_state):
* ext/lame/gstlame.h:
Port lame plugin

19 years agoWay, way, way too many files: Remove crack comment from the 2000 era.
Andy Wingo [Tue, 5 Jul 2005 10:51:41 +0000 (10:51 +0000)]
Way, way, way too many files: Remove crack comment from the 2000 era.

Original commit message from CVS:
2005-07-05  Andy Wingo  <wingo@pobox.com>

* Way, way, way too many files:
Remove crack comment from the 2000 era.

20 years agoMemory leak fixes
Iain Holmes [Tue, 26 Oct 2004 11:36:52 +0000 (11:36 +0000)]
Memory leak fixes

Original commit message from CVS:
Memory leak fixes
Allow level to take mono or stereo audio

20 years agoext/lame/gstlame.*: Added new media support to lame
Zaheer Abbas Merali [Thu, 26 Aug 2004 00:32:00 +0000 (00:32 +0000)]
ext/lame/gstlame.*: Added new media support to lame

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

* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_chain):
* ext/lame/gstlame.h:
Added new media support to lame

20 years agoOnly enable lame presets if version of lame has presets in API
Zaheer Abbas Merali [Thu, 19 Aug 2004 22:44:50 +0000 (22:44 +0000)]
Only enable lame presets if version of lame has presets in API

Original commit message from CVS:
2004-08-19  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
* ext/lame/Makefile.am:
* ext/lame/gstlame.c: (gst_lame_class_init),
(gst_lame_set_property), (gst_lame_get_property), (gst_lame_setup):
Only enable lame presets if version of lame has presets in API

20 years agoext/lame/gstlame.c: describe the enum values for vbr mode and presets more verbosely
Zaheer Abbas Merali [Sun, 15 Aug 2004 13:47:00 +0000 (13:47 +0000)]
ext/lame/gstlame.c: describe the enum values for vbr mode and presets more verbosely

Original commit message from CVS:
2004-08-15  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_vbrmode_get_type),
(gst_lame_preset_get_type), (gst_lame_class_init):
describe the enum values for vbr mode and presets more verbosely

20 years agoext/lame/gstlame.*: add preset property to lame so it can use lame presets
Zaheer Abbas Merali [Fri, 13 Aug 2004 15:22:49 +0000 (15:22 +0000)]
ext/lame/gstlame.*: add preset property to lame so it can use lame presets

Original commit message from CVS:
2004-08-13  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_mode_get_type),
(gst_lame_quality_get_type), (gst_lame_padding_get_type),
(gst_lame_preset_get_type), (gst_lame_class_init), (gst_lame_init),
(gst_lame_set_property), (gst_lame_get_property), (gst_lame_setup):
* ext/lame/gstlame.h:
add preset property to lame so it can use lame presets

20 years agoext/lame/gstlame.c: whoops forgot break, thanks teuf
Zaheer Abbas Merali [Fri, 13 Aug 2004 14:55:27 +0000 (14:55 +0000)]
ext/lame/gstlame.c: whoops forgot break, thanks teuf

Original commit message from CVS:
2004-08-13  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_get_property):
whoops forgot break, thanks teuf

20 years agoext/lame/gstlame.*: fix lame's broken vbr stuff, allow it to resample if need be...
Zaheer Abbas Merali [Fri, 13 Aug 2004 14:41:02 +0000 (14:41 +0000)]
ext/lame/gstlame.*: fix lame's broken vbr stuff, allow it to resample if need be, and also make xing header optional

Original commit message from CVS:
2004-08-13  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_vbrmode_get_type),
(gst_lame_class_init), (gst_lame_src_getcaps),
(gst_lame_sink_link), (gst_lame_init), (gst_lame_set_property),
(gst_lame_get_property), (gst_lame_setup):
* ext/lame/gstlame.h:
fix lame's broken vbr stuff, allow it to resample if need be, and also
make xing header optional

20 years agoext/lame/gstlame.c: added getcaps function so samplerate doesntget fixated to silly...
Zaheer Abbas Merali [Thu, 12 Aug 2004 17:22:30 +0000 (17:22 +0000)]
ext/lame/gstlame.c: added getcaps function so samplerate doesntget fixated to silly values

Original commit message from CVS:
2004-08-12  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_src_getcaps), (gst_lame_init):
added getcaps function so samplerate doesntget fixated to silly values

20 years agoext/lame/gstlame.c: revert previous fix
Zaheer Abbas Merali [Thu, 12 Aug 2004 16:44:14 +0000 (16:44 +0000)]
ext/lame/gstlame.c: revert previous fix

Original commit message from CVS:
2004-08-12  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_src_link):
revert previous fix