Commit graph

23 commits

Author SHA1 Message Date
Sebastian Dröge
5c390646ec lame: Don't get the parent class again, GST_BOILERPLATE does this already 2011-09-26 16:08:20 +02:00
Sebastian Dröge
7032f94e72 lame: Fix variable 'gstelement_class' set but not used compiler warning 2011-09-26 16:07:54 +02:00
Mark Nauwelaerts
7961d3f2e3 lamemp3enc: use some more boilerplate 2011-09-26 15:17:02 +02:00
Mark Nauwelaerts
19c6d5e45b lamemp3enc: really report bitrate rather kbitrate 2011-09-26 15:16:59 +02:00
Mark Nauwelaerts
2bfec2cccc lamemp3enc: port to audioencoder 2011-09-26 15:16:57 +02:00
Sebastian Dröge
b0e7e27365 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
7417ad6d5f 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
3bb4b5069e various (ext): add a missing G_PARAM_STATIC_STRINGS flags 2010-10-19 10:06:33 +03:00
Tristan Matthews
c60638ab56 lamemp3enc: implement latency query
The encoder's latency is deduced from the framesize. Fixes #618896.
2010-06-01 11:28:55 +02:00
Thiago Santos
82ab87032d 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
c286272792 lamemp3enc: Improve debugging a bit 2009-05-14 12:32:54 +02:00
Tim-Philipp Müller
0594c5633d lamemp3enc: add Since tag to gtk-doc chunk 2009-05-13 02:00:08 +01:00
Sebastian Dröge
87fbf6f4ff lamemp3enc: Don't write a Xing header 2009-05-10 16:53:07 +02:00
Christian Schaller
b8a116982b Add ranks to mp3 encoders 2009-05-07 17:59:52 +01:00
Sebastian Dröge
50dd597ff1 lamemp3enc: Fixup the bitrate only for CBR
Additionally clarify some property descriptions.
2009-05-07 10:10:58 +02:00
Alessandro Decina
bfbddbed8b lame: fix format string in debug statement 2009-05-06 21:47:17 +02:00
Tim-Philipp Müller
95ddda57e2 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
54d7c0d563 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
3511ecbf5d lame: Implement preset interface 2009-05-04 12:48:43 +02:00
Sebastian Dröge
1dcdac7629 lamemp3enc: Remove fast-vbr property and rename vbr-quality to quality 2009-05-04 11:18:15 +02:00
Sebastian Dröge
699f1707c3 lame/lamemp3enc: Fix memory leak on FLUSH_STOP 2009-05-04 11:18:15 +02:00
Sebastian Dröge
78e2da1dfd lame: Update example pipelines with the new properties 2009-05-04 11:18:14 +02:00
Sebastian Dröge
389a6ea0ec 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