summaryrefslogtreecommitdiffstats
path: root/ext/ladspa
AgeCommit message (Collapse)AuthorFilesLines
2008-02-04ext/ladspa/gstladspa.c: Don't use GST_BOILERPLATE as the stuff generated ↵Sebastian Dröge1-34/+23
from it is not used anyway and can't be used. Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_base_init), (gst_ladspa_class_init), (ladspa_describe_plugin), (plugin_init): Don't use GST_BOILERPLATE as the stuff generated from it is not used anyway and can't be used. Store the class struct of the correct type in parent_class. Pass the LADSPA_Descriptor as class_data to the class_init function as preparation for the time, when we can add pad templates and friends in class_init and add a FIXME for that. Don't use a custom hash table for passing the LADSPA_Descriptors to base_init but use g_type_set_qdata and g_type_get_qdata.
2008-02-04ext/ladspa/gstsignalprocessor.c: Don't unref the pad template after adding ↵Sebastian Dröge1-1/+0
it. gst_element_class_add_pad_template tak... Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_class_add_pad_template): Don't unref the pad template after adding it. gst_element_class_add_pad_template takes ownership of it.
2007-12-29Fix 'xyz may be used uninitialized' compiler warnings caused by broken ↵Sebastian Dröge1-2/+2
g_assert_not_reached() macro in GLib-2.15.x an... Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_get_property): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_show_frame): * gst/mve/gstmvemux.c: (gst_mve_mux_request_new_pad): * sys/dvb/dvbbasebin.c: (dvb_base_bin_class_init): Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x and don't abort() in any case but properly report the error.
2007-08-16ext/ladspa/gstladspa.c: Don't leak like hell.Stefan Kost1-5/+13
Original commit message from CVS: * ext/ladspa/gstladspa.c: Don't leak like hell.
2007-02-24Fix build with LDFLAGS='-Wl,-z,defs'.Tim-Philipp Müller1-1/+1
Original commit message from CVS: * configure.ac: * ext/gsm/Makefile.am: * ext/ladspa/Makefile.am: * ext/wavpack/Makefile.am: * gst/equalizer/Makefile.am: * gst/filter/Makefile.am: * gst/mve/Makefile.am: * gst/nsf/Makefile.am: * gst/replaygain/Makefile.am: * gst/speed/Makefile.am: Fix build with LDFLAGS='-Wl,-z,defs'.
2007-01-31Fix classification in GstElementDetails.Stefan Kost1-45/+38
Original commit message from CVS: * ext/alsaspdif/alsaspdifsink.c: * gst/nsf/gstnsf.c: Fix classification in GstElementDetails. * ext/ladspa/gstladspa.c: (gst_ladspa_base_init), (gst_ladspa_class_init): Improve Klassification and reduce code slighly.
2007-01-28ext/ladspa/: add GstController support to ladspaStefan Kost2-3/+6
Original commit message from CVS: * ext/ladspa/Makefile.am: * ext/ladspa/gstladspa.c: (gst_ladspa_class_get_param_spec): add GstController support to ladspa
2007-01-12ext/ladspa/gstsignalprocessor.c (gst_signal_processor_fixate)Andy Wingo1-39/+55
Original commit message from CVS: 2007-01-12 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_fixate) (gst_signal_processor_ouija_caps, gst_signal_processor_prepare): Remove fixate/ouija stuff, thankfully, due to the new part-negotiation.txt pull-mode negotiation scheme. (gst_signal_processor_setcaps_pull) (gst_signal_processor_setcaps): Implement upstream set_caps pull proxying for pull mode. Now this works: ladspa-sine-fcac ! audioconvert ! alsasink.
2007-01-06ext/ladspa/gstsignalprocessor.cAndy Wingo1-31/+31
Original commit message from CVS: 2007-01-06 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_ouija_caps): Move around in the source file... (gst_signal_processor_prepare, gst_signal_processor_do_pulls): Call ouija_caps in prepare() instead of do_pulls(), a bit earlier. This allows us to have caps when we do the pad_alloc_buffer(). (gst_pad_alloc_buffer_and_set_caps): Use self->caps instead of the pad caps, which might not be set yet.
2007-01-06ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_add_pad_from_template)Andy Wingo1-16/+51
Original commit message from CVS: 2007-01-06 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_add_pad_from_template) (gst_signal_processor_fixate): Add a fixate function, to assist in pathological ladspa-sine-fcac ! fakesink can-activate-pull=true cases. (gst_signal_processor_prepare, gst_signal_processor_process): Add nframes args so that getrange can tell ladspa how many frames to process. (gst_signal_processor_ouija_caps): setcaps needs to be called before processing, which normally happens when chaining a buffer to a pad. However in getrange mode with no sinks we need to check explicitly for this condition, guess some caps to use, and use those to setcaps(). Hence this mystical function. (gst_signal_processor_do_pulls): Pull in bytes, not samples. Divine the caps if necessary. (gst_signal_processor_getrange): Interpret the length as bytes, not samples. (gst_signal_processor_chain): nframes=G_MAXUINT, will be limited by incoming buffer sizes.
2006-12-18ext/ladspa/gstsignalprocessor.c: Reset flow_state back to _OK after a flush ↵Wim Taymans1-7/+18
stop so that we exit our error state afte... Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setcaps), (gst_signal_processor_event): Reset flow_state back to _OK after a flush stop so that we exit our error state after the flush. Fixes #374213
2006-08-16ext/ladspa/gstsignalprocessor.c: Make ladspa elements reusable. Fixes #350006.Andy Wingo1-12/+57
Original commit message from CVS: Patch by: Andy Wingo <wingo at pobox dot com> * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setup), (gst_signal_processor_start), (gst_signal_processor_stop), (gst_signal_processor_cleanup), (gst_signal_processor_setcaps), (gst_signal_processor_pen_buffer), (gst_signal_processor_flush), (gst_signal_processor_do_pulls), (gst_signal_processor_do_pushes), (gst_signal_processor_change_state): Make ladspa elements reusable. Fixes #350006.
2006-08-16ext/ladspa/gstladspa.c: Convert ' ' into '_'. Try to keep as many characters ↵Wim Taymans1-1/+4
in the padtemplate names as possible. Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_base_init): Convert ' ' into '_'. Try to keep as many characters in the padtemplate names as possible.
2006-08-16ext/ladspa/gstsignalprocessor.c: A push() gives away our refcount so we ↵Wim Taymans1-4/+6
should not use the buffer on the pen anymore. Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_flush), (gst_signal_processor_do_pushes): A push() gives away our refcount so we should not use the buffer on the pen anymore.
2006-08-04ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a ↵Andy Wingo3-37/+161
processor can work in place or not, and for... Original commit message from CVS: 2006-08-04 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.h: Add infrastructure for storing whether a processor can work in place or not, and for keeping track of its state. Change the FlowReturn instance variable from "state" to "flow_state", all callers changed. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setup) (gst_signal_processor_start, gst_signal_processor_stop) (gst_signal_processor_cleanup): New functions to manage the processor's state. (gst_signal_processor_setcaps): start() as well as setup() here. (gst_signal_processor_prepare): Respect CAN_PROCESS_IN_PLACE. (gst_signal_processor_change_state): Stop and cleanup the processor as we go to NULL. * ext/ladspa/gstladspa.c (gst_ladspa_base_init): Reuse buffers if INPLACE_BROKEN is not set. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_prepare): Do the alloc_buffer in bytes, not frames.
2006-08-04BPBAndy Wingo1-1/+1
Original commit message from CVS: (gst_signal_processor_src_activate_pull): BPB
2006-08-04ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setcaps) ↵Andy Wingo1-74/+127
(gst_signal_processor_prepare) (gst_signal_processor_u... Original commit message from CVS: 2006-08-04 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_setcaps) (gst_signal_processor_prepare) (gst_signal_processor_update_inputs) (gst_signal_processor_process, gst_signal_processor_pen_buffer) (gst_signal_processor_flush) (gst_signal_processor_sink_activate_push) (gst_signal_processor_src_activate_pull) (gst_signal_processor_change_state): Remove the last of the code that assumes that we process whole buffers at a time. Fix some debugging. Seems to work now in some cases.
2006-07-31ext/ladspa/gstsignalprocessor.c (gst_signal_processor_process): Fix ↵Andy Wingo1-2/+11
nframes-choosing. Original commit message from CVS: 2006-08-01 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_process): Fix nframes-choosing. (gst_signal_processor_init): Init pending_in and pending_out.
2006-07-31ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): No more default ↵Andy Wingo2-36/+71
sample rate, although we never check tha... Original commit message from CVS: 2006-08-01 Andy Wingo <wingo@pobox.com> * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): No more default sample rate, although we never check that the sample rate actually gets set. Something for the future. (gst_signal_processor_setcaps): Some refcount fixes, flow fixes. (gst_signal_processor_event): Refcount fixen. (gst_signal_processor_process): Pull the number of frames to process from the sizes of the buffers in the input pens. (gst_signal_processor_pen_buffer): Remove an incorrect FIXME :) (gst_signal_processor_do_pulls): Add an nframes argument, and use it instead of buffer_frames. (gst_signal_processor_getrange): Refcount fixen, pass nframes on to do_pulls. (gst_signal_processor_chain) (gst_signal_processor_sink_activate_push) (gst_signal_processor_src_activate_pull): Refcount fixen. * ext/ladspa/gstsignalprocessor.h: No more buffer_frames, yay.
2006-07-31ext/ladspa/gstsignalprocessor.c: don't query buffer-frames from caps, add ↵Stefan Kost1-12/+7
lots of debug-log, try fix for assert (#349... Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_setcaps), (gst_signal_processor_process): don't query buffer-frames from caps, add lots of debug-log, try fix for assert (#349189)
2006-07-29ext/ladspa/gstsignalprocessor.c: Add debugs logs here and there, add more ↵Stefan Kost1-9/+52
error handling, add some Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_add_pad_from_template), (gst_signal_processor_init), (gst_signal_processor_setcaps), (gst_signal_processor_process), (gst_signal_processor_pen_buffer), (gst_signal_processor_do_pulls), (gst_signal_processor_getrange), (gst_signal_processor_sink_activate_push), (gst_signal_processor_src_activate_pull), (gst_signal_processor_change_state): Add debugs logs here and there, add more error handling, add some FIXME comments, filed #349189
2006-06-11autogen.sh: require am17Thomas Vander Stichele1-1/+1
Original commit message from CVS: * autogen.sh: require am17 * configure.ac: * ext/annodex/Makefile.am: * ext/cdio/Makefile.am: * ext/dv/Makefile.am: * ext/esd/Makefile.am: * ext/flac/Makefile.am: * ext/gdk_pixbuf/Makefile.am: * ext/ladspa/Makefile.am: * ext/libcaca/Makefile.am: * ext/speex/Makefile.am: * ext/taglib/Makefile.am: * sys/oss/Makefile.am: * sys/sunaudio/Makefile.am: * sys/ximage/Makefile.am: clean up build further
2006-04-08Fix broken GObject macrosStefan Kost1-5/+5
Original commit message from CVS: * ext/annodex/gstcmmldec.h: * ext/annodex/gstcmmlenc.h: * ext/annodex/gstcmmltag.h: * ext/cairo/gsttextoverlay.h: * ext/ladspa/gstsignalprocessor.h: * gst/matroska/ebml-read.h: * gst/matroska/ebml-write.h: * sys/osxaudio/gstosxaudioelement.h: Fix broken GObject macros
2006-02-20ext/ladspa/gstsignalprocessor.c: Fix compilation of LADPSA. It doesn't seem ↵Jan Schmidt1-1/+3
to work, and isn't enabled for the build,... Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_event), (gst_signal_processor_process): Fix compilation of LADPSA. It doesn't seem to work, and isn't enabled for the build, but it helps me win the feature-count competitions ooh yeah.
2005-12-06expand tabsThomas Vander Stichele3-13/+13
Original commit message from CVS: expand tabs
2005-12-05Update for alloc_buffer changes.Andy Wingo1-2/+3
Original commit message from CVS: 2005-12-05 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c: (gst_dvdec_chain): * ext/flac/gstflacdec.c: (gst_flacdec_write): * ext/flac/gstflacenc.c: (gst_flacenc_write_callback): * ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_chain): * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_chain): * ext/jpeg/gstjpegdec.c: (gst_jpeg_dec_chain): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_chain): * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_process): * ext/libpng/gstpngdec.c: (user_info_callback), (gst_pngdec_task): * ext/speex/gstspeexdec.c: (speex_dec_chain): * ext/speex/gstspeexenc.c: (gst_speexenc_chain): * gst/auparse/gstauparse.c: (gst_auparse_chain): * gst/flx/gstflxdec.c: (gst_flxdec_chain): * gst/goom/gstgoom.c: (gst_goom_chain): * gst/matroska/matroska-demux.c: (gst_matroska_demux_push_vorbis_codec_priv_data), (gst_matroska_demux_add_wvpk_header): * gst/multipart/multipartdemux.c: (gst_multipart_demux_chain): * gst/multipart/multipartmux.c: (gst_multipart_mux_collected): * gst/videomixer/videomixer.c: (gst_videomixer_collected): * gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Update for alloc_buffer changes.
2005-11-21Update for stream lock API changes: don't take stream log in sink event ↵Tim-Philipp Müller1-22/+0
handlers any longer and change GST_STREAM_LOC... Original commit message from CVS: * ext/dv/gstdvdemux.c: (gst_dvdemux_handle_sink_event): * ext/flac/gstflacdec.c: (gst_flacdec_loop), (gst_flacdec_src_event): * ext/flac/gstflacenc.c: (gst_flacenc_sink_event): * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_event), (gst_signal_processor_getrange), (gst_signal_processor_chain): * gst/avi/gstavidemux.c: (gst_avi_demux_handle_seek): * gst/flx/gstflxdec.c: (gst_flxdec_src_event_handler), (gst_flxdec_sink_event_handler): * gst/matroska/matroska-demux.c: (gst_matroska_demux_handle_seek_event): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek): Update for stream lock API changes: don't take stream log in sink event handlers any longer and change GST_STREAM_LOCK to GST_PAD_STREAM_LOCK. Don't leak references in flxdec event functions.
2005-11-14rework configure.ac; make asterisk rtp stuff compile on mingwThomas Vander Stichele1-1/+1
Original commit message from CVS: rework configure.ac; make asterisk rtp stuff compile on mingw
2005-10-07ext/raw1394/gstdv1394src.c: Make interruptible, so it won't block forever in ↵Andy Wingo1-1/+1
a read(). Original commit message from CVS: 2005-10-07 Andy Wingo <wingo@pobox.com> * ext/raw1394/gstdv1394src.c: Make interruptible, so it won't block forever in a read().
2005-09-23fix build and use of GST_LIBSThomas Vander Stichele1-2/+1
Original commit message from CVS: fix build and use of GST_LIBS
2005-09-02All plugins updated for element state changes.Andy Wingo1-13/+12
Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
2005-08-28Updates for two-arg init from GST_BOILERPLATE.Andy Wingo2-13/+13
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-26ext/ladspa/gstladspa.*: Finish porting, still doesn't work but it does ↵Andy Wingo4-678/+324
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-25add missing filesAndy Wingo2-0/+799
Original commit message from CVS: add missing files
2005-08-25ext/ladspa/gstladspa.*: Halfway-ported. Doesn't compile yet.Andy Wingo3-80/+97
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-02removed obsolete includeStefan Kost1-1/+0
Original commit message from CVS: removed obsolete include
2005-08-01deactivate and remove dparams (libgstcontrol)Stefan Kost3-122/+29
Original commit message from CVS: deactivate and remove dparams (libgstcontrol)
2004-08-31added typecast to avoid warningStefan Kost1-1/+1
Original commit message from CVS: added typecast to avoid warning
2004-08-31fixed seg-fault and mem leakStefan Kost1-1/+2
Original commit message from CVS: fixed seg-fault and mem leak
2004-07-19ext/ladspa/gstladspa.c: make sure longname, description and author are valid ↵Benjamin Otte1-2/+6
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-05-21second batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet1-1/+1
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-04-05ext/ladspa/gstladspa.c: clean up debuggingBenjamin Otte1-21/+46
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-03-15don't mix tabs and spacesThomas Vander Stichele3-153/+153
Original commit message from CVS: don't mix tabs and spaces
2004-03-15*.h: Revert indentingJohan Dahlin2-46/+50
Original commit message from CVS: * *.h: Revert indenting
2004-03-14gst-indentThomas Vander Stichele5-557/+572
Original commit message from CVS: gst-indent
2004-02-12fixes for #133316, #133663 and #133528 (Stefan Kost)Thomas Vander Stichele1-8/+11
Original commit message from CVS: fixes for #133316, #133663 and #133528 (Stefan Kost)
2003-12-22Merge CAPS branchDavid Schleef2-96/+38
Original commit message from CVS: Merge CAPS branch
2003-12-04remove copyright field from pluginsAndy Wingo1-5/+10
Original commit message from CVS: remove copyright field from plugins
2003-11-16+ checking in plugin category changesLeif Johnson1-1/+1
Original commit message from CVS: + checking in plugin category changes
2003-11-07Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje3-1/+8
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