Commit graph

56 commits

Author SHA1 Message Date
Andy Wingo
99fc32962a 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
b5c9e10399 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
0582ab1291 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
79106e14f5 removed obsolete include
Original commit message from CVS:
removed obsolete include
2005-08-02 11:53:31 +00:00
Stefan Kost
84371908c8 deactivate and remove dparams (libgstcontrol)
Original commit message from CVS:
deactivate and remove dparams (libgstcontrol)
2005-08-01 16:22:31 +00:00
Benjamin Otte
c41fbc7da0 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
4c89978b6e 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
65d6fd009d 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
6cc1c73d2b 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
Thomas Vander Stichele
5d25c00e4b gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:33 +00:00
Thomas Vander Stichele
5ae71a7400 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:50 +00:00
David Schleef
ce51f6173c Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Andy Wingo
e46d34995d 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
5c244e8374 + checking in plugin category changes
Original commit message from CVS:
+ checking in plugin category changes
2003-11-16 22:02:22 +00:00
David Schleef
8d9788cb0b Include config.h
Original commit message from CVS:
Include config.h
2003-11-06 23:36:33 +00:00
Ronald S. Bultje
8e2ec0d7fe This was wrong
Original commit message from CVS:
This was wrong
2003-11-02 23:58:20 +00:00
Ronald S. Bultje
9ad6701204 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
Andy Wingo
f2d5cae8da /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:18 +00:00
Ronald S. Bultje
38946080fd 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:52 +00:00
Thomas Vander Stichele
54b0fe0f94 reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:02 +00:00
Benjamin Otte
8817348af7 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:39 +00:00
David Schleef
7bea2b377a 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
6fcc950836 + 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
6f06c87c12 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:14 +00:00
Ronald S. Bultje
292fec2a0b 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
90da904f1e 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:12 +00:00
Thomas Vander Stichele
dbf13a6d53 g_warning -> GST_DEBUG
Original commit message from CVS:
g_warning -> GST_DEBUG
2003-06-05 21:40:55 +00:00
Thomas Vander Stichele
c2a01f482c PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
be876ae577 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
David I. Lehn
3d843acdbe 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
251a3f46dd 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
7c6531143d 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
2ff64d483e plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:51 +00:00
Andy Wingo
dd07d61791 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
0933e98356 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
0b497b1634 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
dc3b48f77c 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
ab0df2f22a 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
e52bee3647 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
1603b3e8d4 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
ebc26a7b64 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
b1bb03e1a8 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
edad35067b 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
163076dd9e use new bytestream api
Original commit message from CVS:
use new bytestream api
2002-05-15 19:08:49 +00:00
Andy Wingo
cca77e215b 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
d4458d89c9 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
71b95f0145 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
3a9c675a68 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
13d9e8d352 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
29aa39e99c 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