Commit graph

192 commits

Author SHA1 Message Date
Wim Taymans
944b47414d port to new memory API 2012-01-25 11:57:07 +01:00
Sebastian Dröge
f8506e1c90 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
2012-01-10 15:17:11 +01:00
Sebastian Dröge
8404c29a42 lamemp3enc: Update for the new raw audio caps 2012-01-05 10:37:04 +01:00
Tim-Philipp Müller
e0fc333b3f lame: fix LIBADD order in Makefile.am 2012-01-04 18:42:34 +00:00
Tim-Philipp Müller
de6b18ea84 lame: fix printf format in debug statements
https://bugzilla.gnome.org/show_bug.cgi?id=666926
2011-12-27 22:54:34 +00:00
Mark Nauwelaerts
789fc8195d lame: ensure parsed output
... by doing some basic parsing of encoded lame data.
2011-12-26 18:29:00 +01:00
Mark Nauwelaerts
9cc793c10b lame: cleanup unused instance struct fields 2011-12-26 18:28:58 +01:00
Mark Nauwelaerts
4ca166c84e lamemp3enc: ensure parsed output
... by doing some basic parsing of encoded lame data.

Fixes #652150.
2011-12-26 18:28:28 +01:00
Mark Nauwelaerts
8ed7ab2931 lamemp3enc: do not leak merged tags 2011-12-26 18:28:12 +01:00
Vincent Penquerc'h
f877920db7 various: fix pad template ref leaks
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:10:01 +00:00
Tim-Philipp Müller
137c2da193 ext: fix more printf format warnings in debug messages 2011-11-23 23:29:03 +00:00
Tim-Philipp Müller
684cd3ce3e lamemp3enc: cosmetic error message change
LET'S TRY TO KEEP CAPITALS TO A MINIMUM.
2011-11-11 01:27:47 +00:00
Tim-Philipp Müller
713f4bc700 lame: remove lame element, it's been superseded by lamemp3enc 2011-10-30 13:47:26 +00:00
Tim-Philipp Müller
42a7484cea ext, gst: update for taglist API changes 2011-10-30 11:51:58 +00:00
Wim Taymans
bb98769e32 lame: fix raw audio caps too 2011-09-27 18:19:50 +02:00
Wim Taymans
9f2adb09d7 lame: port to 0.11 2011-09-27 18:15:00 +02:00
Sebastian Dröge
1d1cffe8ee lame: Don't get the parent class again, GST_BOILERPLATE does this already 2011-09-26 16:08:20 +02:00
Sebastian Dröge
32fa778b5c lame: Fix variable 'gstelement_class' set but not used compiler warning 2011-09-26 16:07:54 +02:00
Mark Nauwelaerts
bddd9d8804 lame: use some more boilerplate 2011-09-26 15:17:06 +02:00
Mark Nauwelaerts
e15c5ae76e lame: port to audioencoder 2011-09-26 15:17:04 +02:00
Mark Nauwelaerts
5c322ede2b lamemp3enc: use some more boilerplate 2011-09-26 15:17:02 +02:00
Mark Nauwelaerts
256176802b lamemp3enc: really report bitrate rather kbitrate 2011-09-26 15:16:59 +02:00
Mark Nauwelaerts
5f6ab8a5c7 lamemp3enc: port to audioencoder 2011-09-26 15:16:57 +02:00
Sebastian Dröge
7b131f816a lamemp3enc: Post CODEC and BITRATE tags
Also filter any CODEC/AUDIO_CODEC tags from incoming
tag events.

Fixes bug #391543.
2011-05-18 15:17:20 +02:00
Tim-Philipp Müller
817779ca35 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
2011-02-03 18:27:05 +00:00
Stefan Kost
601b97fcdf various: canonicalize property names 2010-10-19 12:24:13 +03:00
Stefan Kost
fcd740b5de various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-19 10:06:33 +03:00
Tristan Matthews
ec7c300853 lamemp3enc: implement latency query
The encoder's latency is deduced from the framesize. Fixes #618896.
2010-06-01 11:28:55 +02:00
Sebastian Dröge
9a08857c1f build: Add all kinds of compiler warning flags and fix the resulting warnings 2010-03-24 11:27:40 +01:00
Benjamin Otte
1a8aac1c16 gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 15:53:14 +01:00
Thiago Santos
4f7d1a2ed5 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
2009-12-02 11:34:34 -03:00
Sebastian Dröge
98acc9703b lamemp3enc: Improve debugging a bit 2009-05-14 12:32:54 +02:00
Tim-Philipp Müller
f631890166 lamemp3enc: add Since tag to gtk-doc chunk 2009-05-13 02:00:08 +01:00
Sebastian Dröge
9e0e559a48 lamemp3enc: Don't write a Xing header 2009-05-10 16:53:07 +02:00
Christian Schaller
19096a66c4 Add ranks to mp3 encoders 2009-05-07 17:59:52 +01:00
Sebastian Dröge
efaf0a5199 lamemp3enc: Fixup the bitrate only for CBR
Additionally clarify some property descriptions.
2009-05-07 10:10:58 +02:00
Alessandro Decina
15897072d0 lame: fix format string in debug statement 2009-05-06 21:47:17 +02:00
Tim-Philipp Müller
8da711f16c 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.
2009-05-05 16:38:19 +01:00
Sebastian Dröge
d1845b62f0 lamemp3enc: Add a note to the encoding-engine-quality property
that says, that this does not affect the bitrate at all.
2009-05-04 12:51:29 +02:00
Sebastian Dröge
a085d92489 lame: Implement preset interface 2009-05-04 12:48:43 +02:00
Sebastian Dröge
423a6b01aa lamemp3enc: Remove fast-vbr property and rename vbr-quality to quality 2009-05-04 11:18:15 +02:00
Sebastian Dröge
6a85784c7c lame/lamemp3enc: Fix memory leak on FLUSH_STOP 2009-05-04 11:18:15 +02:00
Sebastian Dröge
7fbb8780c1 lame: Deprecate the lame element 2009-05-04 11:18:15 +02:00
Sebastian Dröge
9931635e13 lame: Update example pipelines with the new properties 2009-05-04 11:18:14 +02:00
Sebastian Dröge
27c557c988 lame: Add lamemp3enc element with much simplified interface
This deprecates the lame element and fixes bug #494528.
2009-05-04 11:18:14 +02:00
Edward Hervey
c02f6b9092 lame: Remove unneeded variable, it's assigned a value never read. 2009-04-19 14:02:03 +02:00
Stefan Kost
d081a77016 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.
2008-10-13 18:10:25 +00:00
Frederic Crozat
03141f0ff6 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).
2008-08-07 16:14:42 +00:00
Sebastian Dröge
ee74e87e50 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.
2008-07-31 14:24:27 +00:00
Sebastian Dröge
252e387a89 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.
2008-07-29 16:57:16 +00:00