Commit graph

178 commits

Author SHA1 Message Date
Zaheer Abbas Merali
93d6475a67 ext/lame/gstlame.c: send tag events downstream
Original commit message from CVS:
2004-07-28  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/lame/gstlame.c: (gst_lame_chain): send tag events downstream
* ext/shout2/gstshout2.c: (gst_shout2send_protocol_get_type),
(gst_shout2send_get_type), (gst_shout2send_set_clock),
(gst_shout2send_class_init), (gst_shout2send_init),
(set_shout_metadata), (gst_shout2send_set_metadata),
(gst_shout2send_chain), (gst_shout2send_set_property),
(gst_shout2send_get_property), (gst_shout2send_connect),
(gst_shout2send_change_state):
* ext/shout2/gstshout2.h:
- fix for sending mp3 audio to icecast2 server, if pad link function not
called before PAUSED state
- added option to use GStreamer clock sync (as opposed to libshout's own sync)
- added tagging support for mp3 audio broadcasted
* gst/monoscope/gstmonoscope.c: (gst_monoscope_class_init):
debug info
2004-07-28 20:26:31 +00:00
Benjamin Otte
3c4f228d9c ext/lame/gstlame.c: add debugging category, add error checks like checking return values of setup calls, make sure it...
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_sink_link), (gst_lame_init),
(gst_lame_chain), (gst_lame_setup), (gst_lame_change_state),
(plugin_init):
add debugging category, add error checks like checking return values
of setup calls, make sure it still works after
PLAYING=>NULL=>PLAYING, fix encoding of mono streams
2004-07-26 15:42:18 +00:00
Thomas Vander Stichele
10137aa8e0 sync mp3 caps
Original commit message from CVS:
sync mp3 caps
2004-06-14 10:58:27 +00:00
Thomas Vander Stichele
6a9ba4d4e0 add comment
Original commit message from CVS:
add comment
2004-06-14 10:52:35 +00:00
Stéphane Loeuillet
94c33a9984 second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in ...
Original commit message from CVS:
second batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
(in gst-plugins/ext/ this time)
2004-05-21 23:28:57 +00:00
Benjamin Otte
249884f4fe ext/: \1/Codec, (fixes #142193)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* ext/a52dec/gsta52dec.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c: (gst_faad_base_init):
* ext/ivorbis/vorbisfile.c:
* ext/lame/gstlame.c:
* ext/libfame/gstlibfame.c:
* ext/mpeg2enc/gstmpeg2enc.cc:
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/sidplay/gstsiddec.cc:
* ext/speex/gstspeexdec.c:
* ext/speex/gstspeexenc.c:
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
correct klasses. Mostly s,Codec/(Audio|Video),\1/Codec,
(fixes #142193)
2004-05-09 14:37:15 +00:00
Benjamin Otte
1a44705e0b ext/lame/gstlame.c: simplify
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_chain):
simplify
* ext/mad/gstmad.c: (gst_mad_handle_event):
fix event leak
* gst/typefind/gsttypefindfunctions.c: (mp3_type_find):
be able to detect mp3 files < 4096 bytes
2004-05-07 00:43:50 +00:00
Stéphane Loeuillet
b24b7cf301 don't trust lame_init to set good values as defaults
Original commit message from CVS:
don't trust lame_init to set good values as defaults
2004-05-03 16:46:10 +00:00
Thomas Vander Stichele
b31733da2e don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:25 +00:00
Johan Dahlin
12ccc90d59 *.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
2004-03-15 16:32:53 +00:00
Thomas Vander Stichele
2940fc1d56 gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:30 +00:00
Benjamin Otte
42bf5190ae configure.ac: export [_]*{gst,Gst,GST}.* symbols from plugins
Original commit message from CVS:
2004-02-22  Benjamin Otte  <otte@gnome.org>

* configure.ac:
export [_]*{gst,Gst,GST}.* symbols from plugins

2004-02-22  Christophe Fergeau <teuf@gnome.org>

reviewed by: Benjamin Otte  <otte@gnome.org>

* ext/lame/gstlame.c: (add_one_tag):
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_get_tag_value),
(gst_vorbisenc_metadata_set1):
* gst/tags/gstid3tag.c:
* gst/tags/gstvorbistag.c: (gst_vorbis_tag_add):
apply fixes from bugs #135042 (lame can't write tags) and #133817
(add GST_ALBUM_VOLUME_{COUNT,NUMBER} tags)
2004-02-22 15:14:24 +00:00
Benjamin Otte
0c6fac4b5c ext/: use gst_tag_list_insert when you want to insert tags
Original commit message from CVS:
2004-02-19  Benjamin Otte  <otte@gnome.org>

* ext/lame/gstlame.c: (gst_lame_chain):
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_chain):
use gst_tag_list_insert when you want to insert tags
2004-02-19 22:19:55 +00:00
Thomas Vander Stichele
5213815f0b change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS:
change NULL to (NULL) for GST_ELEMENT_ERROR
Make sure errors end with "."
2004-02-02 17:23:32 +00:00
Thomas Vander Stichele
c16fefbf82 GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
2004-01-29 23:20:44 +00:00
Thomas Vander Stichele
3d7f601bb2 use new error signal and classification
Original commit message from CVS:
use new error signal and classification
2004-01-18 21:46:58 +00:00
David Schleef
60e364f98a Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:08 +00:00
Christophe Fergeau
1ffc266d6f Uses new tagging framework
Original commit message from CVS:
Uses new tagging framework
2003-12-07 14:47:09 +00:00
Andy Wingo
9b3ede3e63 remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:35 +00:00
David Schleef
b90d46d12f change _connect to _link
Original commit message from CVS:
change _connect to _link
2003-12-02 02:28:12 +00:00
Ronald S. Bultje
fd6c618825 Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:46:51 +00:00
Iain Holmes
62274a20ff Fixed lame too
Original commit message from CVS:
Fixed lame too
2003-11-02 00:13:26 +00:00
Ronald S. Bultje
783dcb7418 Fix typo in Andy's commit
Original commit message from CVS:
Fix typo in Andy's commit
2003-10-09 09:04:23 +00:00
Andy Wingo
d7981c9cb3 /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:10 +00:00
Ronald S. Bultje
dfcb09811b Input and output samplerate are *not* necessarily the same in lame. This fixes the output caps
Original commit message from CVS:
Input and output samplerate are *not* necessarily the same in lame. This fixes the output caps
2003-09-30 19:48:39 +00:00
Thomas Vander Stichele
e68dbca275 reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:00 +00:00
Benjamin Otte
594b997455 converted gst_element_error to new format in ext/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in ext/ - gettext pending
2003-09-15 01:08:38 +00:00
Ronald S. Bultje
1a8e63c43f Fix tiny caps error in lame caps - mpegversion(1) was missing
Original commit message from CVS:
Fix tiny caps error in lame caps - mpegversion(1) was missing
2003-09-12 11:35:23 +00:00
David Schleef
01616be72b Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
Christian Schaller
d3664b8e12 fix license field of lame plugin to say LGPL, lame is LGPL. Add Readme with info
Original commit message from CVS:
fix license field of lame plugin to say LGPL, lame is LGPL. Add Readme with info
2003-07-10 15:39:11 +00:00
Ronald S. Bultje
608d79f6c4 New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...
Original commit message from CVS:
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-07-06 20:49:50 +00:00
Thomas Vander Stichele
aee522dd13 patch from hadess, modified
Original commit message from CVS:
patch from hadess, modified
2003-07-05 22:48:58 +00:00
Benjamin Otte
6513212df1 compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS:
compatibility fix for new GST_DEBUG stuff.
Includes fixes for missing includes for config.h and unistd.h

I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-06-29 19:46:09 +00:00
Ronald S. Bultje
aa5999a0c0 Another duration patch from Joshua (slightly modified by me)
Original commit message from CVS:
Another duration patch from Joshua (slightly modified by me)
2003-06-07 00:34:51 +00:00
Ronald S. Bultje
b83b624437 Fix build prob
Original commit message from CVS:
Fix build prob
2003-05-29 19:32:39 +00:00
Wim Taymans
31a6e31bf5 - copy offset from input buffer
Original commit message from CVS:
- copy offset from input buffer
2003-05-29 12:41:42 +00:00
Ronald S. Bultje
7a947d5fc7 Get timestamping somewhat better
Original commit message from CVS:
Get timestamping somewhat better
2003-05-13 12:28:16 +00:00
Zeeshan Ali
4e395ef243 Hacked lame to make it copy the timestamp on the source buffer to the sink buffer
Original commit message from CVS:
Hacked lame to make it copy the timestamp on the source buffer to the sink buffer
2003-05-12 20:08:17 +00:00
Thomas Vander Stichele
7cbf7d0bcc PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:27 +00:00
Thomas Vander Stichele
a5d085d623 another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t...
Original commit message from CVS:
another batch of connect->link fixes
please let me know about issues
and please refrain of making them yourself, so that I don't spend double
the time resolving conflicts
2003-01-10 10:22:24 +00:00
Iain Holmes
80b743287f Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
Original commit message from CVS:
Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
2002-12-08 17:20:44 +00:00
Thomas Vander Stichele
ddad5a1576 parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:04 +00:00
Wim Taymans
8f78f8c972 cleanups
Original commit message from CVS:
cleanups
2002-12-08 02:44:00 +00:00
Wim Taymans
1281c84d09 Remove redundant properties.
Original commit message from CVS:
Remove redundant properties.
2002-11-20 21:02:40 +00:00
David I. Lehn
675efc8049 use AM_CFLAGS instead of CFLAGS
Original commit message from CVS:
use AM_CFLAGS instead of CFLAGS
2002-11-02 05:39:21 +00:00
Thomas Vander Stichele
5783e8c14f api change
Original commit message from CVS:
api change
2002-10-02 08:04:00 +00:00
Christian Schaller
8c5ab48a3e plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:46 +00:00
Ronald S. Bultje
2d13350692 This updates all plugins to the new API for gst_pad_try_set_caps
Original commit message from CVS:
This updates all plugins to the new API for gst_pad_try_set_caps
2002-09-10 09:31:38 +00:00
Thomas Vander Stichele
194cd2c9af small updates
Original commit message from CVS:
small updates
2002-09-01 15:40:39 +00:00
Wim Taymans
000483cc8c unref event
Original commit message from CVS:
unref event
2002-07-08 19:32:49 +00:00
Wim Taymans
732f21f419 Don't free uninitialized pointers
Original commit message from CVS:
Don't free uninitialized pointers
2002-07-07 14:17:00 +00:00
Wim Taymans
bf5b28df37 Lame should accept events even when not negotiated yet.
Original commit message from CVS:
Lame should accept events even when not negotiated yet.
2002-07-07 14:06:38 +00:00
Thomas Vander Stichele
5637fc0969 reorder
Original commit message from CVS:
reorder
2002-06-08 09:26:09 +00:00
Andy Wingo
675ef5cc8e GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.
Original commit message from CVS:
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

same with *factory and typefind.

also, some -Werror fixes.
2002-04-11 20:42:25 +00:00
Wim Taymans
f7cf0134f4 Changed to the new props API
Original commit message from CVS:
Changed to the new props API
Other small tuff.
2002-03-30 17:06:26 +00:00
Andy Wingo
22fbd4120a update g_value stuff to match property types
Original commit message from CVS:
update g_value stuff to match property types
2002-03-27 04:02:38 +00:00
Andy Wingo
92aac53318 filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:03 +00:00
Andy Wingo
4227e3f734 s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:45:03 +00:00
Andy Wingo
0c372a316a fix compile error (untested)
Original commit message from CVS:
fix compile error (untested)
2002-03-19 17:14:57 +00:00
Andy Wingo
33a7cb4fb4 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:05 +00:00
Andy Wingo
c30d0dd82a s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagi...
Original commit message from CVS:
s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/

@-substitued variables variables are defined as make variables automagically,
and this gives the user the freedom to say make GST_PLUGIN_LDFLAGS=-myflag
2002-03-19 01:39:42 +00:00
Andy Wingo
21c21de13a get up-to-date with the gst_caps_debug api improved capsnego in mad improved capsnego in adder improved capsnego in i...
Original commit message from CVS:
* get up-to-date with the gst_caps_debug api
* improved capsnego in mad
* improved capsnego in adder
* improved capsnego in intfloat plugins
* unbroke capsnego in stereomono plugins
* fix cothread stack allocation within the main thread in new cothreads
2002-03-03 00:53:24 +00:00
Thomas Vander Stichele
c5ceb37577 uncomment lame test until we can get the register to work
Original commit message from CVS:
uncomment lame test until we can get the register to work
2002-02-21 17:33:59 +00:00
Thomas Vander Stichele
c03d32e142 use gst-debuginfo.m4 macro so plugins are actually compiled with debug info some more debug output for lame
Original commit message from CVS:
* use gst-debuginfo.m4 macro so plugins are actually compiled with
debug info
* some more debug output for lame
2002-02-21 17:20:35 +00:00
Thomas Vander Stichele
cd4b7c2103 on sink connect, check if the current pad is compatible with the given caps cleaned up debug output change pad templa...
Original commit message from CVS:
* on sink connect, check if the current pad is compatible with the given
caps
* cleaned up debug output
* change pad template to only accept allowed sample rates

if these changes are considered ok by others then the same should be
applied to other encoding plugins (notably the compatibility check)
2002-02-21 14:04:02 +00:00
Thomas Vander Stichele
d8effe4463 ok, this works
Original commit message from CVS:
ok, this works
2002-02-19 20:49:52 +00:00
Wim Taymans
90386dd433 Always bring the elements to READY before trying to do capsnego. fix the caps as lame doesn't accept law==1
Original commit message from CVS:
Always bring the elements to READY before trying to do capsnego.
fix the caps as lame doesn't accept law==1
2002-02-19 20:35:42 +00:00
Thomas Vander Stichele
5eb408254e still does not work ;(
Original commit message from CVS:
still does not work ;(
2002-02-19 20:19:36 +00:00
Thomas Vander Stichele
1f96ea4847 adding a test for lame stuff
Original commit message from CVS:
adding a test for lame stuff
2002-02-19 18:28:05 +00:00
Wim Taymans
d93eb7d436 Added event handling.
Original commit message from CVS:
Added event handling.
Fix flush
Fix state change.
Convert to gobject deep_notify
2002-02-19 17:29:55 +00:00
Thomas Vander Stichele
9ee4ef8061 somebody help me fix lame ;)
Original commit message from CVS:
somebody help me fix lame ;)

I commented out the state change function because it is called before lame has the right caps.
Is the state change function still necessary ?
in any case, at least now lame actually listens to osssrc re: rate and channels
2002-02-19 12:55:16 +00:00
David I. Lehn
ec94be0220 Revert lame include dir change. Upstream uses $prefix/include/lame/lame.h.
Original commit message from CVS:
Revert lame include dir change.  Upstream uses $prefix/include/lame/lame.h.
2002-01-31 17:08:46 +00:00
Thomas Vander Stichele
e9d3af555c I checked lame packages and source code and they seem to want lame.h in prefix/include/lame.h so I fixed stuff accord...
Original commit message from CVS:
I checked lame packages and source code and they seem to want lame.h in
prefix/include/lame.h

so I fixed stuff accordingly.

Do any systems have lame in include/lame/lame.h ?
If so, mail me and we'll work it out.
2002-01-30 11:25:58 +00:00
Wrobell
8e85a4eca0 - plugins are built without versioning info
Original commit message from CVS:
- plugins are built without versioning info
2002-01-18 02:05:25 +00:00
Wim Taymans
a91be8d942 Bring the plugins in sync with the new core capsnego system.
Original commit message from CVS:
Bring the plugins in sync with the new core capsnego system.
Added some features, enhancements...
2002-01-13 22:27:24 +00:00
David I. Lehn
fe5ef9e0d2 s/filter/plugin/ link plugins to GST_LIBS rearrange rules to a common format
Original commit message from CVS:
* s/filter/plugin/
* link plugins to GST_LIBS
* rearrange rules to a common format
2002-01-12 03:34:26 +00:00
Wim Taymans
450cdc906a Lame cleanup
Original commit message from CVS:
Lame cleanup
Added EOS, flush, error reporting etc.
2001-12-21 12:47:09 +00:00
Thomas Vander Stichele
52c8eb4fab adding lame
Original commit message from CVS:
adding lame
2001-12-20 23:48:55 +00:00