Commit graph

239 commits

Author SHA1 Message Date
Benjamin Otte
20b290cd04 don't print to stderr, use debug messages
Original commit message from CVS:
don't print to stderr, use debug messages
2003-11-22 16:15:24 +00:00
Benjamin Otte
280c25766a fixes for recent changes:
Original commit message from CVS:
fixes for recent changes:
- GstAlsaClock is not a GstSystemClock
- initialize debugging system correctly
2003-11-18 15:32:52 +00:00
Leif Johnson
e53facc93f + adding alsa mixer implementation
Original commit message from CVS:
+ adding alsa mixer implementation
2003-11-16 21:56:30 +00:00
Leif Johnson
f3b328da39 splitting ALSA code into separate source files
Original commit message from CVS:
splitting ALSA code into separate source files
2003-11-16 00:40:01 +00:00
Benjamin Otte
8f4600fbff use debugging macros for debugging (d'oh)
Original commit message from CVS:
use debugging macros for debugging (d'oh)
2003-11-12 02:49:30 +00:00
David Schleef
5a0d7c7c1e some cleanups suggested by gst-lint
Original commit message from CVS:
some cleanups suggested by gst-lint
2003-11-11 00:38:11 +00:00
Jan Schmidt
01a9ce9134 Updated for the new plugin loading code
Original commit message from CVS:
Updated for the new plugin loading code
2003-11-02 06:46:57 +00:00
Benjamin Otte
c52b047187 update alsa to the new debugging system
Original commit message from CVS:
update alsa to the new debugging system
2003-10-12 17:03:59 +00:00
Andy Wingo
dc35dbb595 /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:22 +00:00
Ronald S. Bultje
595cbc2d05 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:45 +00:00
Thomas Vander Stichele
453e9b8871 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
4eb8fcfe4f 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
Ronald S. Bultje
483700af2a Add GST_DURATION() support to ALSA
Original commit message from CVS:
Add GST_DURATION() support to ALSA
2003-09-12 11:34:34 +00:00
David Schleef
0228717f04 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
Benjamin Otte
ccbd5cbade copy license from .h to .c, so it's really the LGPL header now
Original commit message from CVS:
copy license from .h to .c, so it's really the LGPL header now
2003-07-25 18:43:15 +00:00
Leif Johnson
0894ba5603 + updated caps for new float caps + added 'Library' to license at top of file since gst-inspect says LGPL
Original commit message from CVS:
+ updated caps for new float caps
+ added 'Library' to license at top of file since gst-inspect says LGPL
2003-07-19 23:22:47 +00:00
David Schleef
eff9a150cd /me attempts to fix stuff that BBB apparently never compiled
Original commit message from CVS:
/me attempts to fix stuff that BBB apparently never compiled
2003-07-07 00:34:24 +00:00
Ronald S. Bultje
b005531324 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
ffa5706370 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
Ronald S. Bultje
b0122623f0 Remove NEW_MEDIA from plugins
Original commit message from CVS:
Remove NEW_MEDIA from plugins
2003-06-07 00:17:51 +00:00
David Schleef
f460018c84 GST_FORMAT_UNITS -> GST_FORMAT_DEFAULT conversion
Original commit message from CVS:
GST_FORMAT_UNITS -> GST_FORMAT_DEFAULT conversion
2003-05-28 06:25:39 +00:00
Wim Taymans
8e7b367524 UNITS -> DEFAULT
Original commit message from CVS:
UNITS -> DEFAULT
2003-05-24 10:41:58 +00:00
Benjamin Otte
5cb610d298 make filtered connections actually work. Remove a leftover g_print
Original commit message from CVS:
make filtered connections actually work. Remove a leftover g_print
2003-05-17 20:39:34 +00:00
Benjamin Otte
3b983a1788 next big bunch of stuff:
Original commit message from CVS:
next big bunch of stuff:
- proper caps setting in alsasrc
- query / conversion functions
WARNING: Alsa 0.9.2 is heavily borked wrt recording - expect segfaults
2003-05-15 16:32:22 +00:00
Benjamin Otte
7035f1be3e be parent of own clock
Original commit message from CVS:
be parent of own clock
2003-05-10 11:37:35 +00:00
Benjamin Otte
51bbd119fd bugfixes:
Original commit message from CVS:
bugfixes:
- better error reporting
- segfault when using alsasrc without alsasink (d'oh)
- don't try to round when doing samples => time conversion
2003-04-29 21:51:10 +00:00
Benjamin Otte
a3f57dfba4 alsasrc works now, but it still uses hardcoded caps
Original commit message from CVS:
alsasrc works now, but it still uses hardcoded caps
2003-04-24 22:58:33 +00:00
Benjamin Otte
a05c17a8b8 fix segfault when --gst-mask=-1 is enabled
Original commit message from CVS:
fix segfault when --gst-mask=-1 is enabled
2003-04-24 20:31:20 +00:00
Benjamin Otte
dcdb424424 total code reorganization as a start to get alsasrc working - sink and src are now really different classes, not just...
Original commit message from CVS:
total code reorganization as a start to get alsasrc working - sink and src are now really different classes, not just on paper - includes a fix that makes the testsuite work that might be an older bug
2003-04-24 00:03:06 +00:00
Benjamin Otte
7d5843f31f change alsa to use non-blocking mode
Original commit message from CVS:
change alsa to use non-blocking mode
2003-04-22 23:33:04 +00:00
Benjamin Otte
f2f10fcade more indentation madness, no actual code changes
Original commit message from CVS:
more indentation madness, no actual code changes
2003-04-22 18:28:33 +00:00
Benjamin Otte
51b95c4653 indenting only
Original commit message from CVS:
indenting only
2003-04-22 14:45:41 +00:00
Benjamin Otte
f928b71543 some more fixes for weird situations
Original commit message from CVS:
some more fixes for weird situations
2003-04-18 23:32:29 +00:00
Benjamin Otte
da25cbb0b3 fix clock - seeking, xruns etc should be handled correctly now includes bugfix to not play the rest of the audio buff...
Original commit message from CVS:
fix clock - seeking, xruns etc should be handled correctly now
includes bugfix to not play the rest of the audio buffer when going PAUSED => READY
2003-04-18 12:14:04 +00:00
Benjamin Otte
f3c926748a converted g_print to g_printerr
Original commit message from CVS:
converted g_print to g_printerr
2003-04-13 14:28:15 +00:00
Benjamin Otte
60154fca6e fix timestamp syncing timestamps are only guessed so add a (big) threshold before starting to drop/insert fix some cl...
Original commit message from CVS:
fix timestamp syncing
timestamps are only guessed so add a (big) threshold before starting to drop/insert
fix some clocking madness
2003-04-13 14:21:02 +00:00
Benjamin Otte
05ef1f25e5 ALSA rewrite, part 5:
Original commit message from CVS:
ALSA rewrite, part 5:
- sync to timestamps (which breaks a _lot_, because most plugins send out wrong timestamps)
- clocking support (A/V sync is superb as long as you don't sync and don't get wrong timestamps)
- 1/2 of format conversion
- assorted bugfixes
I'd like to get people to check the timestamps the plugins send out.
mpegdemux seems to be pretty broken, mad works (I just patched it...), avidemux works at least sometimes.
Haven't checked more so far.
2003-04-13 04:13:12 +00:00
Benjamin Otte
6c384754a9 make alsa not pause playback but drain the buffer on EOS
Original commit message from CVS:
make alsa not pause playback but drain the buffer on EOS
2003-04-11 00:24:19 +00:00
Benjamin Otte
2b473441ca bugfix: don't unref event twice
Original commit message from CVS:
bugfix: don't unref event twice
2003-03-27 03:16:31 +00:00
Benjamin Otte
b5a22d8630 get rid of bytestreams
Original commit message from CVS:
get rid of bytestreams
2003-03-27 00:17:26 +00:00
Benjamin Otte
7b30d7b9a4 use err = snd_... instead of errno afterwards -- removed unnecessary include
Original commit message from CVS:
use err = snd_... instead of errno afterwards -- removed unnecessary include
2003-03-26 22:24:35 +00:00
Benjamin Otte
f7995c6fd8 rewrote the caps nego / state change stuff once again, new features:
Original commit message from CVS:
rewrote the caps nego / state change stuff once again, new features:
- bugfixes
- get_caps function to report better caps when device is opened
- better _link function
2003-03-24 03:45:45 +00:00
Benjamin Otte
a773e79446 bugfix: destroy bufferstreams after they're reset, not before
Original commit message from CVS:
bugfix: destroy bufferstreams after they're reset, not before
2003-03-22 02:17:08 +00:00
Benjamin Otte
d681473539 bugfixing:
Original commit message from CVS:
bugfixing:
- use better parameter setting functions
- assorted stuff
feature:
- added non-mmaped standard-rw output. Use 'alsasink mmap=false' to deactivate mmap output
2003-03-22 01:17:06 +00:00
Benjamin Otte
5dc94e9b3d fixing bugs:
Original commit message from CVS:
fixing bugs:
- reset original caps on failed caps nego
- do only initialize format/rate/caps if known
- added line for fast debugging output (need this for iain now ;)
2003-03-19 22:54:36 +00:00
Benjamin Otte
245d6e4d6d fix all kinds of shutdown stuff and do proper freeing of memory
Original commit message from CVS:
fix all kinds of shutdown stuff and do proper freeing of memory
2003-03-19 21:33:52 +00:00
Benjamin Otte
4b1649ad34 ALSA cleanup step 3:
Original commit message from CVS:
ALSA cleanup step 3:
- make caps nego work, when caps are already set
- rewriting lots of caps nego while doing so
- start stream explicitly now (will probably stay that way because of sync)
- random bugfixes
alsasrc is probably broken again.
alsasink should now be stable enough to be used with gst-player or rhythmbox (seeking works)
2003-03-18 22:07:56 +00:00
Benjamin Otte
489eafaf72 Bugfixing in alsa again:
Original commit message from CVS:
Bugfixing in alsa again:
- Leif's commit reverted an earlier patch
(stupid diff)
- Some comment from Leif made me clean up his code
- Moved wait() directly in front of mmap
- Assorted fixes
- fixed newbie bug: DON'T EVER USE STATIC VARIABLES WHEN YOU'RE NOT ABSOLUTELY SURE WHAT YOU'RE DOING, Leif *slap* ;)
I hope I didn't break the src now...
2003-03-10 21:30:00 +00:00
Leif Johnson
20a9403fbf + alsasrc compiles and runs in "alsasrc ! fakesink" and "alsasrc ! osssink" pipelines. seems to have a 100% cpu issue...
Original commit message from CVS:
+ alsasrc compiles and runs in "alsasrc ! fakesink" and "alsasrc ! osssink"
pipelines. seems to have a 100% cpu issue at the moment.
2003-02-27 23:13:22 +00:00
Benjamin Otte
1516bb3f58 bugfixes found while testing:
Original commit message from CVS:
bugfixes found while testing:
- return after 1 iteration, don't loop for ever
- caps nego: only parse endianness when necessary
- caps nego: make mu law and a law work
- caps nego: make float work
- call right function when going from PAUSED to PLAYING
- stupid error in request_new_pad
2003-02-27 22:33:01 +00:00
Benjamin Otte
730ff79841 fixing alsa step 2: complete rewrite of data transfer. The whole stuff is clean enough to go from there now.
Original commit message from CVS:
fixing alsa step 2: complete rewrite of data transfer. The whole stuff is clean enough to go from there now.
License change to LGPL, since no copied code is left now.
Missing:
- alsasrc
- resetting format
- corner cases
- testsuite
2003-02-09 22:47:34 +00:00
Benjamin Otte
59f2a30f72 cleaning up alsa, step 1: cleaning up caps parsing/setting and templates
Original commit message from CVS:
cleaning up alsa, step 1: cleaning up caps parsing/setting and templates
- gst-launch ... ! spider ! alsasink works now
- alsasrc definitely does not work
2003-01-30 18:30:30 +00:00
Leif Johnson
f032898326 + removed the access_addr crap from GstAlsaPad ... just use this->access_addr[channel] instead + completely reorganiz...
Original commit message from CVS:
+ removed the access_addr crap from GstAlsaPad ... just use
this->access_addr[channel] instead
+ completely reorganized and reindented code
+ removed the gst_alsa_sink_silence_on_channel function, needs to be completely
redone anyway
+ got alsasink to work on my machine finally ! yay !
2003-01-27 12:59:24 +00:00
Benjamin Otte
3d78da5dc2 bugfixing:
Original commit message from CVS:
bugfixing:
- Fix for bug 93479
- Fix for bug 103659
- Did not set interleaved/non-interleaved correctly
- Changed g_print to DEBUG to disable unwanted output
Alsa is still not really useful. Missing is for example:
- Support for Relinking in paused state (when going to next song in gst-player)
- A bug when using gst-launch filesrc ! spider ! alsasink
- Support for events
- Padtemplates exporting proper caps
- general cleanliness
K, back to work ;)
2003-01-25 21:32:01 +00:00
Leif Johnson
85a0755988 + fixing 100 % cpu usage bug (bug #103658) + cleaning up some of the FIXMEs, mostly bytestream stuff + changing loop ...
Original commit message from CVS:
+ fixing 100 % cpu usage bug (bug #103658)
+ cleaning up some of the FIXMEs, mostly bytestream stuff
+ changing loop to use snd_pcm_wait instead of that poll business
2003-01-19 23:23:30 +00:00
Christian Schaller
f18d6d3825 commit Leif's alsa patch, it actually makes Alsa work better
Original commit message from CVS:
commit Leif's alsa patch, it actually makes Alsa work better
2003-01-16 11:25:15 +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
Christian Schaller
a219deee1f apply Jeroens patch to move us to mpeg2dec 0.3.1, also update REQ file and spec file.
Original commit message from CVS:
apply Jeroens patch to move us to mpeg2dec 0.3.1, also update REQ file and spec file.
2002-12-15 21:48:33 +00:00
Christian Schaller
79da0dd437 do not install man page
Original commit message from CVS:
do not install man page
2002-12-12 10:28:39 +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
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
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
2ddfd11493 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
Andy Wingo
21595d5571 make request pads work
Original commit message from CVS:
make request pads work
2002-07-16 14:36:53 +00:00
Thomas Vander Stichele
27846b7ece error output fix
Original commit message from CVS:
error output fix
2002-07-14 18:21:25 +00:00
Andy Wingo
206a7b87f8 compile fixen, and prepare to move MAINTAINER_MODE to as-version.m4
Original commit message from CVS:
compile fixen, and prepare to move MAINTAINER_MODE to as-version.m4
2002-07-09 17:39:17 +00:00
Thomas Vander Stichele
1015f47d6b merge from release branch
Original commit message from CVS:
merge from release branch
2002-07-09 10:45:37 +00:00
David Schleef
fb93a7c0d2 Change G_BREAKPOINT() to g_assert(), since G_BREAKPOINT() is i386-only.
Original commit message from CVS:
Change G_BREAKPOINT() to g_assert(), since G_BREAKPOINT() is i386-only.
2002-07-02 03:27:36 +00:00
Christian Schaller
f41ed33253 adding my gstalsa plugin man page as a test. if it works I start commiting some more
Original commit message from CVS:
adding my gstalsa plugin man page as a test. if it works I start commiting some more
2002-06-17 17:09:42 +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
941073b31f Alsasink is no longer bitrotten anymore, yay!
Original commit message from CVS:
Alsasink is no longer bitrotten anymore, yay!
Alsasrc untested.
Also, fixed a logic error in the main loop regarding proper interpretation of avail_update. This fix came from jack.
2002-05-21 05:38:38 +00:00
Steve Baker
7c4b0049b2 use new bytestream api
Original commit message from CVS:
use new bytestream api
2002-05-15 18:55:35 +00:00
Andy Wingo
23168fa71b some jack fixes, alsa touchups, and add rtp by default to the build if there are any problems building rtp, we're mov...
Original commit message from CVS:
some jack fixes, alsa touchups, and add rtp by default to the build

if there are any problems building rtp, we're moving it back to experimental ;)
2002-05-04 18:57:43 +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
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
Benjamin Otte
49fbf06212 fixed warnings in /ext added mikmod_types.h to get it done
Original commit message from CVS:
fixed warnings in /ext
added mikmod_types.h to get it done
2002-04-06 18:14:30 +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
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
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
Wrobell
01220dec57 - 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
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
Andy Wingo
2d27dab7da open up the interface if capsnego is called and we're in NULL this happens if caps can be determined before the pipel...
Original commit message from CVS:
open up the interface if capsnego is called and we're in NULL
this happens if caps can be determined before the pipeline is running and this is
alsasink, as in afsrc ! alsasink
2002-01-06 18:58:55 +00:00
Wim Taymans
fe672ffe26 Fixed some plugins
Original commit message from CVS:
Fixed some plugins
2001-12-28 20:24:41 +00:00
Thomas Vander Stichele
89ed871296 fixed
Original commit message from CVS:
fixed
2001-12-23 22:40:26 +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
Thomas Vander Stichele
0a6cc4d112 added alsa
Original commit message from CVS:
added alsa
2001-12-23 00:25:30 +00:00