Commit graph

25 commits

Author SHA1 Message Date
Stefan Kost
60f748575b signalprocessor: don't leak the caps 2011-01-07 15:22:07 +02:00
Edward Hervey
e93ca3ac87 signalprocessor: Remove dead assignments 2010-11-25 19:31:35 +01:00
David Schleef
c3d4977761 Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it.  This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs.  If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00
Tim-Philipp Müller
e964dcbd59 signalprocessor: don't use function that doesn't exist
Fixes the build.
2010-03-26 08:41:46 +00:00
Stefan Kost
05cbc5df9e signalprocessor: add boolean return to _process
Avoid trying to push results if processing failed anyway.
2010-03-25 23:30:29 +02:00
Stefan Kost
cfcffe6a74 signalprocessor: remove useless g_assert
g_malloc and co would terminate when out of memory. No need to check after it.
2010-03-25 23:28:25 +02:00
Stefan Kost
7a14b5d393 signalprocessor: add more logging 2010-03-25 23:26:38 +02:00
Stefan Kost
31423b4638 signalprocessor: register function pointers just once
Avoid re-registering those for each wrapped ladpsa/lv2 element.
2010-03-25 23:12:37 +02:00
Stefan Kost
9304f959a4 signalprocessor: add rate to caps 2010-03-25 23:07:46 +02:00
Stefan Kost
5bc9d4cecd signalprocessor: rename log category to be less ambigous 2010-03-25 23:05:18 +02:00
Stefan Kost
ebdf1c2a18 signalprocessor,lv2,ladspa: move sample-rate to baseclass
We need the sample-rate in baseclass for upcomming timestamp changes.
2010-02-01 22:32:32 +02:00
Stefan Kost
6bff8711d0 signalprocessor: use the gst-controller, add some basic timestamping
Atleast for FX we now have timestamps and can sync the controller. Still need
timestamps for sources.
2010-01-31 22:25:51 +02:00
Stefan Kost
2e46fcb3c6 signalprocessor: these are not gtk-doc comments 2010-01-31 22:25:51 +02:00
Stefan Kost
233f7ef176 signalprocessor: new is a c++ keyword, better logging
Use pad instead of new for the pad var. Also use pad as object in to debug
logging.
2010-01-31 22:25:51 +02:00
b3f0b029f3 win32: Include config.h before anything else. Fix mpegdemux LIBADD
Because config.h defines __MSVCRT_VERSION__, which should be defined
before inclusion of any system header.

Also fixes mpegdemux Makefile.am LIBADD typo.

Fixes #606665
2010-01-12 12:31:56 +01:00
Stefan Kost
6577be9572 signalprocessor: remove commented out code that we don't need anymore 2009-11-19 22:59:17 +02:00
Stefan Kost
8a5e9a3363 signalprocessor: change _setup to pass whole caps and not just sampling_rate
This allows to get rid of the sampling_rate variable in the base-class. Also now
subclasses can modify the caps to actualy negotiate. This is needed to e.g. set
audio-channel positions.
2009-11-19 21:11:35 +02:00
Stefan Kost
38592a566d signalprocessor: don't set channel positions in template-caps, Fixes #601775
Revert the changes that added audio positions to template caps. We have an un-
fortunate limitation in core that does not allow to do it. Keep a few things
commented out, so that the channel position can later on be set in setcaps.
2009-11-16 10:20:31 +02:00
Stefan Kost
0e642cad5b signalprocessor: use the type define like everywhere else 2009-10-11 21:26:45 +03:00
Stefan Kost
4b6e0e9ede signalprocessort: register debug category just once
Previously we were trying to register it for every subclass.
2009-10-11 21:26:45 +03:00
Dave Robillard
374d52d257 Multi-channel support with channel positions.
This queries port roles from the LV2 data and converts it into GStreamer
channel positions.  This should allow any type of multi-channel plugin
(including beyond stereo, e.g. surround) to work fine in GStreamer,
and with elements that require channel positions to be explicitly stated.
2009-09-17 09:46:49 +03:00
Dave Robillard
403f58b562 Working multi-channel pads for LV2 plugins. 2009-09-17 09:46:48 +03:00
Dave Robillard
7b14e0cb01 Eliminate use of static mono pad template. 2009-09-17 09:46:48 +03:00
Sebastian Dröge
5a8e9cd080 signalprocessor: Fix various build/dist issues
Install the headers, version the library with @GST_MAJORMINOR@,
add all required libraries to _LIBADD instead of _LDFLAGS,
and add GST_*_LDFLAGS to _LDFLAGS.

Fixes bug #594715.
2009-09-10 07:56:25 +02:00
Dave Robillard
ea184d72f5 Working LV2 plugin discovery.
- Separate gstsignalprocessor into a separate library (not sure if this
  is in the right place, but it works for now anyway)
- Create LV2 element based on LADSPA element, port most discovery
  functionality
2009-06-22 22:25:03 +03:00