Commit graph

4146 commits

Author SHA1 Message Date
Benjamin Otte
d41620bc75 Added initial version of audioconvert, a generic converter of integer audio/raw formats.
Original commit message from CVS:
Added initial version of audioconvert, a generic converter of integer audio/raw formats.
It currently supports conversion of
- channels (mono/stereo only, until someone tells me how to mix other channels)
- endianness (little/bi endian)
- signedness
- width (8, 1, 24 and 32 bits)
- depth (1 - width bits)
missing:
- enough testing (I intend to write a testsuite for this, but that's pending)
- samplerate conversion
- other goodies like format conversion etc
Expect bugs when using it.

problems this should solve:
- encoding wav files on big endian machines
- goom working with mono audio files in gst-player
- Iain's soundcard (that one is a problem in itself)
- complaints about missing conversion
- too many age old, nearly unmaintained plugins (stereo2mono etc.)
Have fun.
2003-04-14 01:20:30 +00:00
Wim Taymans
244658dc96 Do rate control, skip frames when too old.
Original commit message from CVS:
Do rate control, skip frames when too old.
2003-02-11 21:31:28 +00:00
Wim Taymans
5e9794a11a ref the caps when returning it as the result of a getcaps function as we're reusing it.
Original commit message from CVS:
ref the caps when returning it as the result of a getcaps function as we're
reusing it.
2003-02-11 20:53:01 +00:00
Wim Taymans
4560424580 - Fix endless loop in adder
Original commit message from CVS:
- Fix endless loop in adder
- return from interrupt events.
2003-01-11 16:28:29 +00:00
Thomas Vander Stichele
e976ccb298 PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
9032557b33 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
d7e508a4f6 exciting .cvsignore updates!
Original commit message from CVS:
exciting .cvsignore updates!
2002-12-31 18:14:08 +00:00
Thomas Vander Stichele
3b540378fb parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:09 +00:00
David Schleef
60ad16aadf Fix divide by zero bug when rate==0
Original commit message from CVS:
Fix divide by zero bug when rate==0
2002-11-09 01:21:00 +00:00
Thomas Vander Stichele
fcb9eb08c1 backmerge
Original commit message from CVS:
backmerge
2002-11-01 21:41:29 +00:00
David I. Lehn
367bda475d use G_{BEGIN,END}_DECLS
Original commit message from CVS:
use G_{BEGIN,END}_DECLS
2002-10-30 09:17:12 +00:00
David I. Lehn
0f52282149 fix videotestsrc ! fakesink: use macro to null terminate props reformat a few lines
Original commit message from CVS:
fix videotestsrc ! fakesink: use macro to null terminate props
reformat a few lines
2002-10-30 09:16:03 +00:00
Ronald S. Bultje
04e0c89c8e Fix some broken param_specs
Original commit message from CVS:
Fix some broken param_specs
2002-10-27 22:29:56 +00:00
David Schleef
506fbb6766 add rate parameter
Original commit message from CVS:
add rate parameter
2002-10-23 06:03:03 +00:00
David Schleef
dbe3e46c71 add black, superblack, darkgrey areas
Original commit message from CVS:
add black, superblack, darkgrey areas
2002-10-23 04:35:55 +00:00
Andy Wingo
6e2a4b063c comment out unused function
Original commit message from CVS:
comment out unused function
2002-10-15 20:44:15 +00:00
David Schleef
3c967ffc03 Lots of new goodness. Will negotiate caps and output images in about 20 different formats. Some code cleanup. Fixe...
Original commit message from CVS:
Lots of new goodness.  Will negotiate caps and output images in
about 20 different formats.  Some code cleanup.  Fixed YUV color
values for -I and Q.
2002-10-04 06:49:51 +00:00
Thomas Vander Stichele
122dd88f69 sorry
Original commit message from CVS:
sorry
2002-10-01 20:45:29 +00:00
Thomas Vander Stichele
7917c63f5d code cleanups renamed FORMAT to WIDTH and disabled it since the code is fixed for 16 bit
Original commit message from CVS:
code cleanups
renamed FORMAT to WIDTH and disabled it since the code is fixed for 16 bit
2002-10-01 12:03:05 +00:00
Thomas Vander Stichele
21dd80fa24 talk about a painful merge
Original commit message from CVS:
talk about a painful merge
2002-09-23 09:39:33 +00:00
Christian Schaller
e127f803f0 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
David Schleef
4f5c32f140 If output size == input size, just pass through buffer
Original commit message from CVS:
If output size == input size, just pass through buffer
2002-09-15 21:38:28 +00:00
Wim Taymans
bda510b4a0 const fixes
Original commit message from CVS:
const fixes
2002-09-12 20:53:56 +00:00
Thomas Vander Stichele
a316ba39ef this is what triggered olive's bug.
Original commit message from CVS:
this is what triggered olive's bug.
guess this needs an event update ?
2002-09-12 16:13:08 +00:00
Ronald S. Bultje
95281dfe33 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
a734880ad3 removing warnings (approved by wtay)
Original commit message from CVS:
removing warnings (approved by wtay)
2002-09-09 23:24:27 +00:00
Thomas Vander Stichele
76866a1a71 various code cleanups use gst/audio/audio.h more allow setting fixed set of audio format specs so that adder can work...
Original commit message from CVS:
various code cleanups
use gst/audio/audio.h more
allow setting fixed set of audio format specs so that adder can work as a
NULL src
adder ! fakesink works, but adder ! osssink not yet, due to some caps nego
that is failing.
Help is appreciated there.
2002-09-09 09:26:23 +00:00
Thomas Vander Stichele
f58af3c230 patch from mromaine
Original commit message from CVS:
patch from mromaine
2002-08-26 15:49:34 +00:00
Steve Baker
e40b24493b 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
David Schleef
2af7be18a3 Use bufferpool, if available
Original commit message from CVS:
Use bufferpool, if available
2002-07-30 07:38:01 +00:00
David Schleef
eea061c98b Will now negotiate I420, YV12, and RGB
Original commit message from CVS:
Will now negotiate I420, YV12, and RGB
2002-07-30 07:17:37 +00:00
David Schleef
463055e531 Add timestamping
Original commit message from CVS:
Add timestamping
2002-07-30 01:25:26 +00:00
Steve Baker
c9b9e1dd22 #include <string.h>
Original commit message from CVS:
#include <string.h>
2002-07-28 13:40:53 +00:00
David Schleef
768253dc38 Added reasonable values for primaries in YUV space. Added second reverse blue pattern. Added a crummy but very fast...
Original commit message from CVS:
Added reasonable values for primaries in YUV space.  Added second
reverse blue pattern.  Added a crummy but very fast RNG to replace
calls to random().
2002-07-28 04:23:07 +00:00
David Schleef
e5f5cc155c New plugin for generating a test video stream
Original commit message from CVS:
New plugin for generating a test video stream
2002-07-26 22:18:57 +00:00
Wim Taymans
db77f68c5b Parse the format as a fourcc
Original commit message from CVS:
Parse the format as a fourcc
2002-07-26 20:27:01 +00:00
Andy Wingo
82705bdd33 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:43 +00:00
David Schleef
4887bfaee3 Fix gst_buffer_copy_on_write() problem in chain_int function, too
Original commit message from CVS:
Fix gst_buffer_copy_on_write() problem in chain_int function, too
2002-07-25 21:46:17 +00:00
David Schleef
1bed6cbedd Fix: use gst_buffer_copy_on_write() instead of incorrect copying if READONLY.
Original commit message from CVS:
Fix: use gst_buffer_copy_on_write() instead of incorrect copying if READONLY.
2002-07-25 18:59:41 +00:00
Thomas Vander Stichele
3baaec0832 desc fix
Original commit message from CVS:
desc fix
2002-07-15 11:03:24 +00:00
Wim Taymans
f7b390d6e7 Make elements nanoseconds aware
Original commit message from CVS:
Make elements nanoseconds aware
2002-06-02 13:25:39 +00:00
Steve Baker
0e02813372 use new dparams api. also has a slight optimisation so that CLAMP is only used if gain is greater than 1.0
Original commit message from CVS:
use new dparams api. also has a slight optimisation so that CLAMP is only used if gain is greater than 1.0
2002-05-29 18:56:23 +00:00
Steve Baker
6ad042fada 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:19 +00:00
Andy Wingo
85a358dbe3 fix makefile...
Original commit message from CVS:
fix makefile...
2002-05-29 06:17:24 +00:00
Andy Wingo
8abfefa61b maintainance on audioscale
Original commit message from CVS:
maintainance on audioscale
2002-05-29 06:14:43 +00:00
Andy Wingo
031de644f9 fixups in the prop view/controller compilation fixes in the player add gst-editor to gst-all fixes to adder to comply...
Original commit message from CVS:
* fixups in the prop view/controller
* compilation fixes in the player
* add gst-editor to gst-all
* fixes to adder to comply with new osssink sync issues
* alsa fixes, although still 100% cpu is used, yum
* reenable locking of threaded elements, seems to work fine here
* fix a makefile in examples/plugins
2002-05-27 04:48:57 +00:00
Andy Wingo
b94f335876 volume 1.0 by default
Original commit message from CVS:
volume 1.0 by default
2002-05-27 04:29:30 +00:00
Thomas Vander Stichele
6d1b431627 yield from time to time
Original commit message from CVS:
yield from time to time
2002-05-25 18:03:10 +00:00
Steve Baker
ea1b554280 use new bytestream api. please test if you care about this plugin
Original commit message from CVS:
use new bytestream api. please test if you care about this plugin
2002-05-15 19:03:59 +00:00
Steve Baker
d66933e37f sinesrc:
Original commit message from CVS:
sinesrc:
- fixed timestamp calculation (again)
- renamed buffer_size to the less ambigious samples_per_buffer
demo_dparams:
- replaced clumsy g_object_set_property with g_object_set
- use volume element for volume (just for testing)
2002-05-05 15:46:05 +00:00
Steve Baker
49f02b6a0e make the volume range a more sensible 0 -> 4 instead of -4 -> 4
Original commit message from CVS:
make the volume range a more sensible 0 -> 4 instead of -4 -> 4
2002-05-05 15:42:48 +00:00
Benjamin Otte
ff7ac81fd8 gstvolume.c:321: warning: operation on 'i' may be undefined
Original commit message from CVS:
gstvolume.c:321: warning: operation on 'i' may be undefined
2002-05-04 22:24:03 +00:00
Steve Baker
00ffafbbb4 this is basically a rewrite of the volume plugin:
Original commit message from CVS:
this is basically a rewrite of the volume plugin:
- now uses dparams for volume and mute
- only supports signed gint16 and float (other types can be easily added but I don't think that will be required)
- "muted" property is now "mute"
- it might be faster because there are now no conditionals in the chain func
2002-04-28 16:07:41 +00:00
Steve Baker
6225c7a1a3 use defaults that make a noise
Original commit message from CVS:
use defaults that make a noise
2002-04-26 09:38:47 +00:00
Andy Wingo
d11dbb0338 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
434bc836ce - dparams api changes
Original commit message from CVS:
- dparams api changes
- use a bufferpool
- reinstate freq and volume as element properties
2002-04-14 10:29:35 +00:00
Steve Baker
500cb70149 ARG_METHOD is an enum
Original commit message from CVS:
ARG_METHOD is an enum
2002-04-14 10:22:24 +00:00
Andy Wingo
f7ebc8f95d 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:27 +00:00
Thomas Vander Stichele
1ec871710e various Wall fixes
Original commit message from CVS:
various Wall fixes
2002-04-10 17:41:33 +00:00
Benjamin Otte
492d658c44 fixed first bunch of compiler warnings
Original commit message from CVS:
fixed first bunch of compiler warnings
2002-04-06 03:40:13 +00:00
jim thornton
29487094cc Fix: don't try to mangle a read-only buffer. This was causing SEGV when volume fed from wavparse from filesrc (which...
Original commit message from CVS:
patch from jim thornton <jthornton@parc.com>:

Fix: don't try to mangle a read-only buffer.  This was causing SEGV when
volume fed from wavparse from filesrc (which mmaps the file read-only)
2002-04-02 16:43:08 +00:00
Steve Baker
2d698ba7d2 expose freq and volume as object properties again.
Original commit message from CVS:
expose freq and volume as object properties again.
2002-04-02 09:05:33 +00:00
Steve Baker
9775eafb8d don't malloc the temp gvalues
Original commit message from CVS:
don't malloc the temp gvalues
2002-04-02 09:04:14 +00:00
Wim Taymans
082c24afe8 Get the 'signed' property as a boolean.
Original commit message from CVS:
Get the 'signed' property as a boolean.
2002-03-30 17:22:18 +00:00
Wim Taymans
23d2a4198b 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
b80916e4db added a bunch of cvsignore stuff off of a fresh checkout and build i will win the race to max LOC changed ;-)
Original commit message from CVS:
added a bunch of cvsignore stuff off of a fresh checkout and build

i will win the race to max LOC changed ;-)
2002-03-25 05:01:00 +00:00
Andy Wingo
3e882a4bf3 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
12bac12e5c added plugin_desc structures to libs, which makes their locations cached in the registry. this speeds plugin loading ...
Original commit message from CVS:
* added plugin_desc structures to libs, which makes their locations cached in the registry. this
speeds plugin loading considerably, especially on uninstalled versions.

* put the lib path before all others, for speed reasons.

* some fixes to adder's caps.

* added linefeeds (\n) to GST_DEBUG strings to match GST_INFO behavior. this is more sane. all
code will need to be converted. i think some perl can do this.
2002-03-24 20:55:44 +00:00
Andy Wingo
598d929eec s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:45:03 +00:00
Andy Wingo
1049c792c8 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
1ee4a02043 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
Steve Baker
b2e874b9e5 reflect new dparams api
Original commit message from CVS:
reflect new dparams api
2002-03-04 18:56:24 +00:00
Andy Wingo
e8391f35fc gst-all autogen fixes adder capsnego fixes fix the cothreads regression test, /me is a moron add some debugging code ...
Original commit message from CVS:
* gst-all autogen fixes
* adder capsnego fixes
* fix the cothreads regression test, /me is a moron
* add some debugging code in cothreads
2002-03-03 21:30:14 +00:00
Andy Wingo
c66bc3fa01 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:25 +00:00
Andy Wingo
e5ed718c7b changes to spider: add padtemplates so the connect functions can connect two request-pad elements add a hack in gstel...
Original commit message from CVS:
* changes to spider:
* add padtemplates so the connect functions can connect two request-pad
elements
* add a hack in gstelement.c. please look at this, Company, and see how
we can get around this
* add backwards caps-propagation support in identity, int2float, float2int,
adder, speed, volume
2002-02-19 05:59:06 +00:00
Andy Wingo
55013f488e some eos fixes to adder. note that even if it has no more sources, adder will still output zeroes and thus will never...
Original commit message from CVS:
some eos fixes to adder. note that even if it has no more sources, adder will
still output zeroes and thus will never really stop.
2002-02-17 18:31:42 +00:00
Andy Wingo
76ffe0769c capsnego fixes in adder, speed, and identity
Original commit message from CVS:
capsnego fixes in adder, speed, and identity
2002-02-17 17:34:23 +00:00
Andy Wingo
33378146eb better capsnego in osssink s/parseau/auparse/ update volume, mulawdecode, auparse to new capsnego
Original commit message from CVS:
* better capsnego in osssink
* s/parseau/auparse/
* update volume, mulawdecode, auparse to new capsnego
2002-02-17 02:06:04 +00:00
Thomas Vander Stichele
242e80e503 another fix
Original commit message from CVS:
another fix
2002-02-02 14:30:39 +00:00
Leif Johnson
ecca6534ad Updated to work with the new caps nego stuff.
Original commit message from CVS:
Updated to work with the new caps nego stuff.
2002-01-22 04:45:10 +00:00
Wrobell
103f6a7382 - plugins are built without versioning info
Original commit message from CVS:
- plugins are built without versioning info
2002-01-18 11:37:18 +00:00
Wim Taymans
5455dbbf3d 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
86ac7ebab9 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
David I. Lehn
d437fde673 load resample lib at runtime
Original commit message from CVS:
* load resample lib at runtime
2002-01-12 03:29:57 +00:00
David I. Lehn
aefd225f62 s/lib/plugin/ link to GST_LIBS load resample lib at runtime vs hard link
Original commit message from CVS:
* s/lib/plugin/
* link to GST_LIBS
* load resample lib at runtime vs hard link
2002-01-12 03:29:06 +00:00
Andy Wingo
5eec4f66d9 arrgh, -lgstcontrol
Original commit message from CVS:
arrgh, -lgstcontrol
2002-01-05 00:04:41 +00:00
Andy Wingo
10c0cdf098 add -lcontrol
Original commit message from CVS:
add -lcontrol
2002-01-05 00:03:32 +00:00
Andy Wingo
db720e1e74 sinesliders -> demo-dparams
Original commit message from CVS:
sinesliders -> demo-dparams
2002-01-04 21:33:45 +00:00
Wim Taymans
0b872be62d Fixed some leftover errors.
Original commit message from CVS:
Fixed some leftover errors.
2001-12-23 23:01:28 +00:00
Thomas Vander Stichele
1e418567fa made changes everywhere to accomodate for the headers being in <gst/(lib)/...> we'll need to conclude this fast becau...
Original commit message from CVS:
made changes everywhere to accomodate for the headers being in
<gst/(lib)/...>
we'll need to conclude this fast because we will also need to change stuff in core real soon for the libs in order to fix everything
and I can't do it right now because I disabled all of the plugins here ;)
2001-12-23 12:18:18 +00:00
Andy Wingo
9af006a1f0 much build fixage turns out synaesthesia and smoothwav depend on gtk, maybe they should go to ext/
Original commit message from CVS:
much build fixage
turns out synaesthesia and smoothwav depend on gtk, maybe they should go to
ext/
2001-12-23 04:38:38 +00:00
Andy Wingo
302e83b4e8 on dasher, on dancer, on donner, on fixen!
Original commit message from CVS:
on dasher, on dancer, on donner, on fixen!
2001-12-23 03:25:55 +00:00
Andy Wingo
92d4e11782 Initial revision
Original commit message from CVS:
Initial revision
2001-12-22 23:27:17 +00:00
Andy Wingo
5c89abf671 Initial revision
Original commit message from CVS:
Initial revision
2001-12-22 23:21:55 +00:00
Andy Wingo
73172eee3d Initial revision
Original commit message from CVS:
Initial revision
2001-12-22 22:43:48 +00:00
Thomas Vander Stichele
d48e19cb1a adding sine stuff
Original commit message from CVS:
adding sine stuff
2001-12-21 12:31:29 +00:00