Commit graph

171 commits

Author SHA1 Message Date
Andy Wingo
2ef9f68352 Updates for two-arg init from GST_BOILERPLATE.
Original commit message from CVS:
2005-08-28  Andy Wingo  <wingo@pobox.com>

* Updates for two-arg init from GST_BOILERPLATE.

* ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use
the second arg for the class, because G_OBJECT_GET_CLASS (self)
returns the wrong thing.
(gst_signal_processor_add_pad_from_template): Make pads of the
right type.

* ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make
writable param specs G_PARAM_CONSTRUCT so default values work.
(gst_ladspa_init): Use the second arg for the class.
2005-08-28 17:59:20 +00:00
Andy Wingo
282065617d ext/ladspa/gstladspa.*: Finish porting, still doesn't work but it does compile and register. I have more features tha...
Original commit message from CVS:
2005-08-26  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstladspa.c:
* ext/ladspa/gstladspa.h: Finish porting, still doesn't work but
it does compile and register. I have more features than you.

* ext/ladspa/gstsignalprocessor.h:
* ext/ladspa/gstsignalprocessor.c: Updates, bug fixen.
2005-08-26 11:05:13 +00:00
Andy Wingo
63db96dc38 add missing files
Original commit message from CVS:
add missing files
2005-08-25 09:32:22 +00:00
Andy Wingo
0f4381d9a2 ext/ladspa/gstladspa.*: Halfway-ported. Doesn't compile yet.
Original commit message from CVS:
2005-08-25  Andy Wingo  <wingo@pobox.com>

* ext/ladspa/gstladspa.h:
* ext/ladspa/gstladspa.c: Halfway-ported. Doesn't compile yet.

* ext/ladspa/gstsignalprocessor.h:
* ext/ladspa/gstsignalprocessor.c: New files, the start of a base
class for DSP elements.

* configure.ac: Sort the external libs checks, add a ladspa check,
output the ladspa makefile.
2005-08-25 09:30:24 +00:00
Stefan Kost
adc0d6f433 removed obsolete include
Original commit message from CVS:
removed obsolete include
2005-08-02 11:53:31 +00:00
Stefan Kost
4227b442c6 deactivate and remove dparams (libgstcontrol)
Original commit message from CVS:
deactivate and remove dparams (libgstcontrol)
2005-08-01 16:22:31 +00:00
Stefan Kost
461c2124bd added typecast to avoid warning
Original commit message from CVS:
added typecast to avoid warning
2004-08-31 16:07:08 +00:00
Stefan Kost
3d1a483151 fixed seg-fault and mem leak
Original commit message from CVS:
fixed seg-fault and mem leak
2004-08-31 14:41:37 +00:00
Benjamin Otte
7b10ba45bd ext/ladspa/gstladspa.c: make sure longname, description and author are valid UTF-8
Original commit message from CVS:
* ext/ladspa/gstladspa.c: (gst_ladspa_base_init):
make sure longname, description and author are valid UTF-8
2004-07-19 21:44:49 +00:00
Stéphane Loeuillet
c9cb971892 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
82005e9d4d ext/ladspa/gstladspa.c: clean up debugging
Original commit message from CVS:
* ext/ladspa/gstladspa.c: (gst_ladspa_class_init),
(gst_ladspa_init), (gst_ladspa_force_src_caps),
(gst_ladspa_set_property), (gst_ladspa_get_property),
(gst_ladspa_instantiate), (gst_ladspa_activate),
(gst_ladspa_deactivate), (gst_ladspa_loop), (gst_ladspa_chain):
clean up debugging
2004-04-05 17:32:43 +00:00
Thomas Vander Stichele
4fd57bbe3f don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:27 +00:00
Johan Dahlin
39fd8a2dbd *.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
2004-03-15 16:32:54 +00:00
Thomas Vander Stichele
7a778ee4b7 gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:33 +00:00
Thomas Vander Stichele
6484fedb8d fixes for #133316, #133663 and #133528 (Stefan Kost)
Original commit message from CVS:
fixes for #133316, #133663 and #133528 (Stefan Kost)
2004-02-12 18:18:51 +00:00
David Schleef
b144bc6c58 Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Andy Wingo
e69ece9d7e remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:38 +00:00
Leif Johnson
5b283c92b6 + checking in plugin category changes
Original commit message from CVS:
+ checking in plugin category changes
2003-11-16 22:02:23 +00:00
Ronald S. Bultje
cb90622b41 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:47:02 +00:00
David Schleef
bfeed7aeac Include config.h
Original commit message from CVS:
Include config.h
2003-11-06 23:36:33 +00:00
Ronald S. Bultje
992c311650 This was wrong
Original commit message from CVS:
This was wrong
2003-11-02 23:58:20 +00:00
Ronald S. Bultje
bd4206da03 Fix this too. Note that the per-plugin licensing is gone because of company's new per-plugin (rather than per-element...
Original commit message from CVS:
Fix this too. Note that the per-plugin licensing is gone because of company's new per-plugin (rather than per-element) API. We basically need both... Ohwell, I just want this stuff to compile.
2003-11-02 13:55:40 +00:00
David Schleef
e58373a8b6 change gst/bytestream.h to gst/bytestream/bytestream.h
Original commit message from CVS:
change gst/bytestream.h to gst/bytestream/bytestream.h
2003-10-29 03:15:55 +00:00
Benjamin Otte
5bb80c9f53 merge TYPEFIND branch. Major changes:
Original commit message from CVS:
merge TYPEFIND branch. Major changes:
- totally reworked type(find) system
- all typefind functions are in gst/typefind now
- more typefind functions then before
- some plugins might fail to compile now because I don't have them installed and they
a) require bytestream or
b) haven't had their typefind fixed.
Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies
2003-10-28 20:52:41 +00:00
Andy Wingo
c07813ac2c /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:19 +00:00
Ronald S. Bultje
d9e4457faa New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste...
Original commit message from CVS:
New typefind system:
* bytestream is now part of the core
* all plugins have been modified to use this new typefind system
* asf typefinding added
* mpeg video stream typefiding removed because it's broken
* duplicate typefind entries removed
* extra id3 typefinding added, because we've seen 4 types of files
(riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs
to work. Instead, I've added an id3 element and let it redo typefiding
after the id3 header. this needs a hack because spider only typefinds
once. We can remove this hack once spider supports multiple typefinds.
* with all this, mp3 typefinding is semi-rewritten
* id3 typefinding in flac/vorbis is removed, it's no longer needed
* fixed spider and gst-typefind to use this, too.
* Other general cleanups
2003-10-01 13:14:50 +00:00
Thomas Vander Stichele
671eef9b9d 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
982b39d30a 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:40 +00:00
David Schleef
7db2e8baa0 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
David Schleef
a287b1e442 Fix warning on 64-bit architectures. (sizeof() returns size_t, which is not int)
Original commit message from CVS:
Fix warning on 64-bit architectures.  (sizeof() returns size_t, which
is not int)
2003-07-23 22:47:19 +00:00
Leif Johnson
f6830d4ad1 + changes for new float caps without slope/intercept + some category changes for plugins
Original commit message from CVS:
+ changes for new float caps without slope/intercept
+ some category changes for plugins
2003-07-19 23:25:25 +00:00
Andy Wingo
2ff63e563b actually recurse into sndfile if we are able big ladspa cleanups, mainly to comply with the buffer-frames caps proper...
Original commit message from CVS:
* actually recurse into sndfile if we are able
* big ladspa cleanups, mainly to comply with the buffer-frames caps property, but also general
cleanups
- the samplerate prop is gone, if you want to set it explicitly (as in for get-based plugins)
you need to use a filtered connection, just like with buffer-frames
* big float2int and int2float changes for buffer-frames compatibility - I think it's quite a bit
simpler
* make the ossclock general, add it to gstaudio, and use it in sndfile as well

i need to update mimetypes, but that's coming soon. there are some other plugins that don't
support buffer-frames, i guess i need to get around to fixing them as well.
2003-07-16 16:08:13 +00:00
Ronald S. Bultje
95011fd7e8 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:52 +00:00
Benjamin Otte
f4a7caa418 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:13 +00:00
Thomas Vander Stichele
8aa4cadc9b g_warning -> GST_DEBUG
Original commit message from CVS:
g_warning -> GST_DEBUG
2003-06-05 21:40:55 +00:00
Thomas Vander Stichele
8e3c533fcf PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
424db0d3ae 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:25 +00:00
Thomas Vander Stichele
708cf898e8 parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:10 +00:00
David I. Lehn
f1a3504f2f Add a statement terminating semicolon.
Original commit message from CVS:
Add a statement terminating semicolon.
2002-09-21 11:32:17 +00:00
David Schleef
e4e2257667 Redo last change by using glib's CLAMP() macro
Original commit message from CVS:
Redo last change by using glib's CLAMP() macro
2002-09-20 21:51:50 +00:00
David Schleef
7fdfef78ef Clip defaults of control parameters to range.
Original commit message from CVS:
Clip defaults of control parameters to range.
2002-09-20 21:38:13 +00:00
Christian Schaller
1d5f318e0d plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:52 +00:00
Andy Wingo
9fa281527e fix _get()-based ladspa plugins when bufferpools are present
Original commit message from CVS:
fix _get()-based ladspa plugins when bufferpools are present
2002-09-16 06:13:41 +00:00
Andy Wingo
e229e116ef Some instantiate() routines require nonzero sample rate. ladspa_mbeq (the multi-band eq) is one of these.
Original commit message from CVS:
Some instantiate() routines require nonzero sample rate. ladspa_mbeq (the
multi-band eq) is one of these.
2002-09-16 05:38:53 +00:00
Ronald S. Bultje
2c5496eb74 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:40 +00:00
Thomas Vander Stichele
af558bdc6f removing warnings as approved by wim
Original commit message from CVS:
removing warnings as approved by wim
2002-09-09 23:27:38 +00:00
Steve Baker
07079bca8c use gstcontrol as a lib, not a plugin
Original commit message from CVS:
use gstcontrol as a lib, not a plugin
2002-08-11 12:20:43 +00:00
Andy Wingo
7c524c3fc9 fix to adder: don't pull on unusable pads
Original commit message from CVS:
* fix to adder: don't pull on unusable pads
* fix to ladspa: get output buffers first, so we can know how many frames to
process
- this breaks inplace buffer stuff, hmm
* fix to float2int: add a bufferpool with the same nframes as the source pad's
pool -> no extra latency
2002-07-26 18:55:42 +00:00
Andy Wingo
e92ac611e6 fix a segfault, and support ladspa 1.1 (default parameter values)
Original commit message from CVS:
fix a segfault, and support ladspa 1.1 (default parameter values)
2002-07-24 18:32:00 +00:00
Thomas Vander Stichele
e4b416a799 hacked around LADSPA_PATH as suggested to wingo
Original commit message from CVS:
hacked around LADSPA_PATH as suggested to wingo
2002-06-04 19:32:16 +00:00
Thomas Vander Stichele
3886a21f8a remove this header
Original commit message from CVS:
remove this header
2002-06-04 16:03:00 +00:00
Thomas Vander Stichele
2cdc39ffae this should be installed on the system
Original commit message from CVS:
this should be installed on the system
2002-06-04 15:59:17 +00:00
Thomas Vander Stichele
d3a59be45c include the system ladspa.h file
Original commit message from CVS:
include the system ladspa.h file
2002-06-04 15:57:42 +00:00
Andy Wingo
c5b642c13b fix a problem in ladspa -- i think...
Original commit message from CVS:
fix a problem in ladspa -- i think...
2002-05-30 04:16:34 +00:00
Steve Baker
fc771c97a4 use new dparams api. run demo_dparams to hear how smooth it is now
Original commit message from CVS:
use new dparams api. run demo_dparams to hear how smooth it is now
2002-05-29 18:54:17 +00:00
Steve Baker
9275ce0e15 use new bytestream api
Original commit message from CVS:
use new bytestream api
2002-05-15 19:08:49 +00:00
Andy Wingo
6863dd9240 a hack to work around intltool's brokenness a current check for mpeg2dec details->klass reorganizations an element br...
Original commit message from CVS:
* a hack to work around intltool's brokenness
* a current check for mpeg2dec
* details->klass reorganizations
* an element browser that uses details->klass
* separated cdxa parse out from the avi directory
2002-04-20 21:42:51 +00:00
Steve Baker
826f1e165f s/G_MINFLOAT/G_MAXFLOAT unref the buffer pool in the loop func
Original commit message from CVS:
s/G_MINFLOAT/G_MAXFLOAT
unref the buffer pool in the loop func
2002-04-20 15:11:00 +00:00
Steve Baker
ba7bac3955 A fairly large reworking of the ladspa _get, _chain and _loop funcs. highlights are:
Original commit message from CVS:
A fairly large reworking of the ladspa _get, _chain and _loop funcs.
highlights are:
- pad names are now g_strcanonised
- in all cases possible, src and sink buffers are shared
- all ladspa properties are exposed as dparams and element properties
- the buffers are now processed in dparam driven loops
- timestamps on buffers should be correct
- misc fixes

It has been minimally tested - the following pipeline works for me:
gst-launch ladspa_sine_fcac Frequency=440.0 Amplitude=1.0 name=fcac1 ladspa_sine_fcac Frequency=450.0 Amplitude=1.0 name=fcac2 ladspa_freeverb3 Wet-Level=0.5 name=free float2int name=f2i fcac1.Output!free.Input--Left- free.Output--Left-!f2i.sink%d fcac2.Output!free.Input--Right- free.Output--Right-!f2i.sink%d f2i.src!sink osssink
2002-04-20 13:57:00 +00:00
Andy Wingo
06d94641c2 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:26 +00:00
Wim Taymans
444336ab90 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
1d6862cb69 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
4359de2616 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:06 +00:00
Andy Wingo
0dc999da00 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:43 +00:00
Leif Johnson
77c65b62bf Updated ladspa to work with the new caps nego stuff. Also updated it to work in using a loop function for configurati...
Original commit message from CVS:
Updated ladspa to work with the new caps nego stuff. Also updated it to work in
any M sinkpads by N srcpads configuration (M > -1 and N > 0), using a loop
function for configurations other than M == N == 1 or M == 0.
2002-01-22 04:42:11 +00:00
Wrobell
827d3f924a - plugins are built without versioning info
Original commit message from CVS:
- plugins are built without versioning info
2002-01-18 02:05:26 +00:00
Wim Taymans
93e9ac34a1 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:25 +00:00
David I. Lehn
7f1aec856f 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:27 +00:00
Andy Wingo
4a1a06de3e fix glib2's complaining on the params of some plugins there's still some work to be done: s/-$//g; && s/\(.*$//;
Original commit message from CVS:
fix glib2's complaining on the params of some plugins
there's still some work to be done: s/-$//g; && s/\(.*$//;
2002-01-10 01:17:29 +00:00
Wim Taymans
694779a8bb Fixed some leftover fixes
Original commit message from CVS:
Fixed some leftover fixes
2001-12-23 23:00:59 +00:00
Thomas Vander Stichele
ba95437449 added ladspa, doesn't have checks yet though
Original commit message from CVS:
added ladspa, doesn't have checks yet though
2001-12-23 15:26:43 +00:00