Commit graph

456 commits

Author SHA1 Message Date
Benjamin Otte
49ae4007af make the test have output
Original commit message from CVS:
make the test have output
2002-01-27 22:10:10 +00:00
Wim Taymans
132f776069 Use a core element (tee) for this testcase
Original commit message from CVS:
Use a core element (tee) for this testcase
2002-01-27 19:29:57 +00:00
Wim Taymans
f6027148a4 Added another testcase.
Original commit message from CVS:
Added another testcase.
2002-01-27 19:24:23 +00:00
Andy Wingo
a43702feb0 miscellaneous fixes, added gst_pad_unset_sched() api.
Original commit message from CVS:
miscellaneous fixes, added gst_pad_unset_sched() api.

although I unref the old pipeline and the cothread context gets freed in dynamic-pipeline.c,
I still get segfaults.
2002-01-19 06:29:40 +00:00
Wim Taymans
e68e6b8a64 autoplug doesn't depend on gnome anymore.
Original commit message from CVS:
autoplug doesn't depend on gnome anymore.
2002-01-17 20:58:42 +00:00
Wim Taymans
0b77ebb8b0 Remove the gnome dependency
Original commit message from CVS:
Remove the gnome dependency
2002-01-17 20:56:12 +00:00
Thomas Vander Stichele
f2237cbace I've removed autoplug from build and dist since it seems to need Gnome and we agreed not to have that in the core.
Original commit message from CVS:
I've removed autoplug from build and dist since it seems to need Gnome and
we agreed not to have that in the core.
Can someone take a look at it ? I couldn't get it to work anyway ;)
It should probably either be rewritten without gnome or moved to another
module
2002-01-17 12:31:12 +00:00
Andy Wingo
3667900ec9 added a slightly new twist in dynamic-pipeline.c: I actually iterate the first pipeline.
Original commit message from CVS:
added a slightly new twist in dynamic-pipeline.c: I actually iterate the first pipeline.
this causes a segfault (at least on my machine, i've been having link issues today though).
if a scheduler wizard (ahem) could take at glance at this, i'd be eternally grateful :-)
2002-01-17 05:04:17 +00:00
Bastien Nocera
f1e89caecd - add all the dirs to the DIST_SUBDIRS
Original commit message from CVS:
- add all the dirs to the DIST_SUBDIRS
2002-01-15 21:25:02 +00:00
Bastien Nocera
769cc8e90c - dodge compiling memchunk and bufspeed if NASM is not present
Original commit message from CVS:
- dodge compiling memchunk and bufspeed if NASM is not present
2002-01-15 21:00:56 +00:00
Thomas Vander Stichele
04f32a7280 removed capsnego testsuite from build if ok then someone please remove the source dirs
Original commit message from CVS:
removed capsnego testsuite from build
if ok then someone please remove the source dirs
2002-01-15 09:29:27 +00:00
Wim Taymans
5c10feaf48 Removed the old capsnego tests
Original commit message from CVS:
Removed the old capsnego tests
2002-01-14 21:45:48 +00:00
Thomas Vander Stichele
f0586a57dc fixing make distcheck
Original commit message from CVS:
fixing make distcheck
2002-01-14 14:04:14 +00:00
Andy Wingo
f38969ff25 fix doc build for glib2 remove template files from cvs, they are generated with gtkdoc-mktmpl new, cleaner interface ...
Original commit message from CVS:
* fix doc build for glib2
* remove template files from cvs, they are generated with gtkdoc-mktmpl
* new, cleaner interface to the parser facilities
* cleanups in gstparse.c
2002-01-14 04:09:56 +00:00
Wim Taymans
dcfb86bb73 Added caps testsuite.
Original commit message from CVS:
Added caps testsuite.
2002-01-13 22:46:34 +00:00
David I. Lehn
8da28910bc s/filter/plugin/ add $(GST_LIBS) to all plugins move Makefile.am things around to a mostly standard layout remove HTT...
Original commit message from CVS:
* s/filter/plugin/
* add $(GST_LIBS) to all plugins
* move Makefile.am things around to a mostly standard layout
* remove HTTP flags/libs from elements since http element moved
2002-01-12 00:47:40 +00:00
Andy Wingo
50043acf47 run a file, this is a quick hack
Original commit message from CVS:
run a file, this is a quick hack
2002-01-11 17:23:49 +00:00
Andy Wingo
d262bea863 summary: fix xml in gstreamer 1) make clear distinction between loading xml that actually creates objects and loading...
Original commit message from CVS:
summary: fix xml in gstreamer

1) make clear distinction between loading xml that actually creates objects and loading xml that just
synchronizes properties with objects. moved most of gst_element_restore_thyself functionality to
gst_xml_make_element. this new function name can change if it sucks.
2) many various fixes. createxml and runxml work now.
3) doc updates.
4) GstSignalObject is stil broken. i have no idea what it's supposed to do.
2002-01-11 15:49:47 +00:00
Wim Taymans
3de9788e32 Fix the helloworld example.
Original commit message from CVS:
Fix the helloworld example.
2002-01-06 19:00:14 +00:00
Andy Wingo
35aa5cebdf global s/disksrc/filesrc/, but edited by me
Original commit message from CVS:
global s/disksrc/filesrc/, but edited by me
2002-01-06 04:26:37 +00:00
Andy Wingo
082a40ded1 for i in find . -name *.[ch]; do perl -n -i -p -e 's/disksrc/filesrc/g;' $i; done
Original commit message from CVS:
for i in `find . -name *.[ch]`; do perl -n -i -p -e 's/disksrc/filesrc/g;' $i; done
2002-01-05 23:05:56 +00:00
Thomas Vander Stichele
0f5fb3402a eat your own dogfood
Original commit message from CVS:
eat your own dogfood
2002-01-05 10:19:32 +00:00
Thomas Vander Stichele
d877412c09 running make distdir in the dir you change stuff in might help ;)
Original commit message from CVS:
running make distdir in the dir you change stuff in might help ;)
2002-01-05 09:33:57 +00:00
Andy Wingo
bc3ea27c3b added lat.c, thanks to MattyBoy
Original commit message from CVS:
added lat.c, thanks to MattyBoy
2002-01-05 02:04:28 +00:00
Andy Wingo
f698d6469c compile fixen
Original commit message from CVS:
compile fixen
2002-01-05 01:43:16 +00:00
Andy Wingo
1a4c7726aa put everything in tests/
Original commit message from CVS:
put everything in tests/
2002-01-05 01:25:28 +00:00
Andy Wingo
e1bc025265 kutting out the kruft
Original commit message from CVS:
kutting out the kruft
2002-01-05 01:19:24 +00:00
Andy Wingo
f3dc36d37d changes to allow apps outside of gstreamer/ to use dparams continuing test removal
Original commit message from CVS:
* changes to allow apps outside of gstreamer/ to use dparams
* continuing test removal
2002-01-05 00:56:40 +00:00
Thomas Vander Stichele
de0ba03c89 fixing
Original commit message from CVS:
fixing
2002-01-02 14:08:16 +00:00
Thomas Vander Stichele
8a96491618 fixes for make distcheck does GST_ELEMENT_IS_COTHREAD_STOPPING still exist ? and if so, how should it be found by the...
Original commit message from CVS:
fixes for make distcheck
does GST_ELEMENT_IS_COTHREAD_STOPPING still exist ?
and if so, how should it be found by the bytestream test ?
2002-01-02 14:07:46 +00:00
Thomas Vander Stichele
c81314f924 fixes to make distcheck work changed registry out of date to warning to allow tests to continue regardless (any bette...
Original commit message from CVS:
fixes to make distcheck work
changed registry out of date to warning to allow tests to continue regardless (any better suggestions much appreciated)
2002-01-02 12:23:26 +00:00
Wim Taymans
0ec3db25a7 Make some things work again
Original commit message from CVS:
Make some things work again
2002-01-01 13:57:18 +00:00
Wim Taymans
d3cc94bb8c Some small fixes
Original commit message from CVS:
Some small fixes
2002-01-01 13:56:35 +00:00
Thomas Vander Stichele
4f14ff0d1b this isn't going to go away is it ?
Original commit message from CVS:
this isn't going to go away is it ?
2001-12-27 10:31:35 +00:00
Thomas Vander Stichele
376d55386a don't install test plugins don't eat turkey
Original commit message from CVS:
don't install test plugins
don't eat turkey
2001-12-25 12:13:24 +00:00
Wim Taymans
37ef20dd0f Fixed the typefind function
Original commit message from CVS:
Fixed the typefind function
2001-12-22 21:28:16 +00:00
Wim Taymans
775656d35f Added another test app.
Original commit message from CVS:
Added another test app.
2001-12-20 20:06:45 +00:00
Andy Wingo
e8e87fe956 removed gstreamer.m4 (packages should use pkg.m4) guilaunch depends only on gtk, not libglade-gnome removed an unnece...
Original commit message from CVS:
* removed gstreamer.m4 (packages should use pkg.m4)
* guilaunch depends only on gtk, not libglade-gnome
* removed an unnecessary check in dynamic-pipeline.c
* attempted to avoid a spurious autoheader run
* gtk2 fixes
* killed a lot of files that automake brings in for us
* killed acinclude.m4, it's autogenerated
2001-12-20 01:20:22 +00:00
Wim Taymans
59d1e1d051 The test apps I'm using to track down cleanup issues.
Original commit message from CVS:
The test apps I'm using to track down cleanup issues.
2001-12-19 19:25:06 +00:00
Wim Taymans
4cbf01a7f0 Small g_print additions
Original commit message from CVS:
Small g_print additions
2001-12-18 19:45:31 +00:00
Wim Taymans
b48a02d635 Added a testsuite for pipeline cleanup etc..
Original commit message from CVS:
Added a testsuite for pipeline cleanup etc..
2001-12-18 14:34:39 +00:00
Wrobell
18ae9a069d - use GST_CFLAGS and GST_LIBS only
Original commit message from CVS:
- use GST_CFLAGS and GST_LIBS only
2001-12-17 12:47:39 +00:00
Wrobell
d4d144032c - use GST_CFLAGS only
Original commit message from CVS:
- use GST_CFLAGS only
- use AM_CFLAGS instead of CFLAGS so user cflags are not overwritten
- use LDADD instead of LIBS (by analogy for <program>_LDADD, look for
example in tools/Makefile.am) - kill me if it is wrong
2001-12-16 18:49:35 +00:00
Thomas Vander Stichele
40e6dccb43 merged back from build branch let's hope you all agree
Original commit message from CVS:
merged back from build branch
let's hope you all agree
2001-12-16 14:23:19 +00:00
Wim Taymans
9f23c76bea Aplied more fixage from Michael Meeks.
Original commit message from CVS:
Aplied more fixage from Michael Meeks.
2001-12-13 23:14:39 +00:00
Michael Meeks
7943a116f6 Aplied a patch from Michael Meeks to add libxml2 support.
Original commit message from CVS:
Aplied a patch from Michael Meeks to add libxml2 support.
2001-12-13 19:00:58 +00:00
Thomas Vander Stichele
688e1fecdc release c++ checking comment out test
Original commit message from CVS:
release c++ checking
comment out test
2001-12-12 00:12:58 +00:00
Thomas Vander Stichele
1cbdc96b2f another test down the drain ;)
Original commit message from CVS:
another test down the drain ;)
2001-12-11 23:00:18 +00:00
Thomas Vander Stichele
a9325a94f9 comment out dynamic
Original commit message from CVS:
comment out dynamic
2001-12-11 22:59:02 +00:00
Wim Taymans
6bd122b0a6 Don't install the test plugins
Original commit message from CVS:
Don't install the test plugins
2001-12-11 21:25:06 +00:00
Thomas Vander Stichele
c9db813400 sigh
Original commit message from CVS:
sigh
2001-12-10 17:40:47 +00:00
Thomas Vander Stichele
223780c95e *sigh*
Original commit message from CVS:
*sigh*
2001-12-10 16:33:43 +00:00
Thomas Vander Stichele
76f0f5c40b add FIXME
Original commit message from CVS:
add FIXME
2001-12-10 09:09:53 +00:00
Thomas Vander Stichele
603278e0a4 yeah it's late
Original commit message from CVS:
yeah it's late
2001-12-09 23:27:11 +00:00
Thomas Vander Stichele
5c3b8b1b95 header wasn't declared
Original commit message from CVS:
header wasn't declared
2001-12-09 23:01:49 +00:00
Thomas Vander Stichele
85f2b281ee commented out disabled test
Original commit message from CVS:
commented out disabled test
2001-12-09 21:11:22 +00:00
Thomas Vander Stichele
d5564a0557 commenting out two tests that keep failing to see what is behind the rainbow
Original commit message from CVS:
commenting out two tests that keep failing to see what is behind the rainbow
2001-12-09 16:26:14 +00:00
Thomas Vander Stichele
fd99a84629 threads back in ?
Original commit message from CVS:
threads back in ?
2001-12-08 13:57:17 +00:00
Thomas Vander Stichele
3b3753f55e one more fix
Original commit message from CVS:
one more fix
2001-12-06 21:45:51 +00:00
Thomas Vander Stichele
90160b0202 fixed FIXME's
Original commit message from CVS:
fixed FIXME's
2001-12-06 21:40:23 +00:00
Wim Taymans
f6d86c4a98 Added a thread test case.
Original commit message from CVS:
Added a thread test case.
2001-12-05 18:39:20 +00:00
wrobell
08eaa11259 - some fixes to int2float making automake 1.5 happy (gst now requires automake1.5). It's still not perfect but it bui...
Original commit message from CVS:
- added playondemand plugin by Leif Morgan Johnson <lmjohns3@eos.ncsu.edu>
- some fixes to int2float
- aplied a patch from wrobell <wrobell@ite.pl> that is a first attempt at
making automake 1.5 happy (gst now requires automake1.5). It's still not
perfect but it builds.
- Made the schedulers plugable. The default scheduler now lives inside a
plugin.
- Added a new mpeg1/2 parser/demuxer.
- Fixed some compiler warnings in the core libs.
- substantial work to GstThread (hopefully less race conditions). simplified
the code in GstThread a bit. A state change can now also happen in the
thread context.
- reworked the state semantics of a bin. it'll now automatically get the
highest state of its children.
- the autoplugger now nests the threads so that a state change failure of
one thread doesn't make its upstream thread lock.
- GstQueue refuses to go to PLAYING if the sinkpad is not connected. This
way the queue will not wedge in the _get lock.
- GstQueue unlocks its mutexes when going to PAUSED.
- make sure that when all elements in a bin/thread go to PAUSED, the bin
is set to PAUSED too.
- make a parent bin wait for its children to PAUSE before ending the
iteration with FALSE (EOS)
- Some changes to GstPlay to deal with EOS.
- aplied the latest patch from Zeenix to gstrtp.

end result: GstPlay doesn't crash on EOS and the pipeline is now shut down
properly.
2001-12-04 22:12:50 +00:00
Steve Baker
0b0874bfed the beginnings of a testsuite for dparams. it works but it doesn't test anything yet
Original commit message from CVS:
the beginnings of a testsuite for dparams. it works but it doesn't test anything yet
2001-11-29 20:36:46 +00:00
Thomas Vander Stichele
1056fce9b6 I tried my best
Original commit message from CVS:
I tried my best
2001-11-28 09:44:38 +00:00
Thomas Vander Stichele
ef4e4972d3 void value should be ignored
Original commit message from CVS:
void value should be ignored
2001-11-28 09:40:33 +00:00
Thomas Vander Stichele
1a2d1c4195 trying to fix make distcheck
Original commit message from CVS:
trying to fix make distcheck
2001-11-28 09:33:28 +00:00
Thomas Vander Stichele
d678f74f2c temporarily removed refcounting
Original commit message from CVS:
temporarily removed refcounting
2001-11-27 22:56:22 +00:00
Thomas Vander Stichele
d9a77b64c8 removed bin from tests
Original commit message from CVS:
removed bin from tests
2001-11-27 22:06:29 +00:00
Andy Wingo
ac66719205 fix stupid commit
Original commit message from CVS:
fix stupid commit
2001-11-27 21:36:18 +00:00
Andy Wingo
d141a6318d for the love of god, let this be the last distcheck fix in this dir
Original commit message from CVS:
for the love of god, let this be the last distcheck fix in this dir
2001-11-27 21:09:40 +00:00
Andy Wingo
cc8ab439cd try some more to fix make distcheck
Original commit message from CVS:
try some more to fix make distcheck
2001-11-26 19:24:11 +00:00
Andy Wingo
e3664eda31 use fake* instead of other elements
Original commit message from CVS:
use fake* instead of other elements
2001-11-26 01:55:36 +00:00
Andy Wingo
d11dd78e24 make the test case clearer and better commented. i now think that this is a cothreads problem.
Original commit message from CVS:
make the test case clearer and better commented. i now think that this is a cothreads problem.
2001-11-26 01:48:19 +00:00
Andy Wingo
dd0f953d7f fixed mainloop for non-glib2 this is a hack, we really need to fix this properly so i don't have to do this in every ...
Original commit message from CVS:
fixed mainloop for non-glib2
this is a hack, we really need to fix this properly so i don't have to do this in every file
2001-11-25 15:58:58 +00:00
Andy Wingo
3bc78f5d9e i've added a testcase where the scheduler fails. i don't know enough about the scheduler to fix it, though. the seque...
Original commit message from CVS:
i've added a testcase where the scheduler fails. i don't know enough about
the scheduler to fix it, though. the sequence goes:
- make a pipeline, iterate it once
- re-use one of the elements in a new pipeline, see if it works
2001-11-25 06:30:34 +00:00
Andy Wingo
dfcbeb714e GstObject is no longer instantiatable in glib2
Original commit message from CVS:
GstObject is no longer instantiatable in glib2
2001-11-24 20:04:47 +00:00
Thomas Vander Stichele
ebfd7aac62 added plugin
Original commit message from CVS:
added plugin
2001-11-13 11:15:36 +00:00
Andy Wingo
2ffb853b7d make distcheck fixes, and added bytestream test to distro (why not?)
Original commit message from CVS:
make distcheck fixes, and added bytestream test to distro (why not?)
2001-10-26 20:19:02 +00:00
Erik Walthinsen
d574ab8126 merge from EVENTS1 on 20011016
Original commit message from CVS:
merge from EVENTS1 on 20011016
2001-10-17 10:21:27 +00:00
Erik Walthinsen
d4afd62f1a changed videosink to xvideosink
Original commit message from CVS:
changed videosink to xvideosink
2001-09-25 19:01:58 +00:00
Thomas Vander Stichele
b7a01f42b2 added some more checking
Original commit message from CVS:
added some more checking
2001-08-29 09:00:49 +00:00
Erik Walthinsen
7adfdaf6dc added timecache testing code
Original commit message from CVS:
added timecache testing code
2001-08-22 21:00:19 +00:00
Wim Taymans
12bbbd5c1e Lots of modifications to the plugin system.
Original commit message from CVS:
Lots of modifications to the plugin system.
- Added a GstPluginfeature object that serves as a base class for all
plugin contents.
- changed the plugin API, everyhting is now added with
gst_plugin_add_feature
- typefactories are named now so that they can be located easily and filled
in at plugin load.
- mime types like "video/raw image/raw" are gone for now.
- lots of plugin updates (style and API changes)
- tested with an without registry.
- updates to various tools.
- added a little testsuite to test/show how you can load plugins (4 modes)

Test this one, Almost everything has changed :-)
2001-08-21 20:16:48 +00:00
Steve Baker
3cda4e2eaa sync with the current CVS glib API
Original commit message from CVS:
sync with the current CVS glib API
2001-08-13 19:00:13 +00:00
Steve Baker
6de8994811 added more exes
Original commit message from CVS:
added more exes
2001-08-12 10:09:01 +00:00
Wim Taymans
5e6a3722ac Fixes to various plugins.
Original commit message from CVS:
Fixes to various plugins.
Removed the eos/qos calls in favour of the soon to be event system.
Added a test app to test element reuse (doesn't work)
2001-08-10 17:40:34 +00:00
Steve Baker
889082ecf1 added an exe
Original commit message from CVS:
added an exe
2001-08-10 17:02:34 +00:00
Steve Baker
cb487ffe32 hide new tests
Original commit message from CVS:
hide new tests
2001-08-10 16:36:48 +00:00
Wim Taymans
5f61efc9ce Fixed the padtemplate definition.
Original commit message from CVS:
Fixed the padtemplate definition.
2001-08-06 22:16:37 +00:00
Erik Walthinsen
ee9426a1a1 Initial code for the event system.
Original commit message from CVS:
Initial code for the event system.
2001-08-06 20:37:21 +00:00
Wim Taymans
517f0b5cc9 Added a simple thread state change app.
Original commit message from CVS:
Added a simple thread state change app.
2001-07-27 17:12:46 +00:00
Wim Taymans
3a1a483cd9 Added a muxing test case.
Original commit message from CVS:
Added a muxing test case.
2001-07-11 19:26:22 +00:00
Wim Taymans
414a3aeab8 Add sane arg checking.
Original commit message from CVS:
Add sane arg checking.
2001-07-07 14:14:42 +00:00
Wim Taymans
9593a39754 Added a parse_launch example.
Original commit message from CVS:
Added a parse_launch example.
2001-07-07 14:07:03 +00:00
Wim Taymans
67bf0e5c60 Updated the autoplug example.
Original commit message from CVS:
Updated the autoplug example.
2001-07-07 13:32:43 +00:00
Thomas Vander Stichele
0e653a5623 implemented ring buffer
Original commit message from CVS:
implemented ring buffer
2001-06-27 20:53:40 +00:00
Wim Taymans
a8fd594d6b Small fixes to the autoplugger so that it uses a colorspace element for video.
Original commit message from CVS:
Small fixes to the autoplugger so that it uses a colorspace element for
video.
2001-06-27 20:19:00 +00:00
Erik Walthinsen
7f8d8fe8d5 Merged from GOBJECT1 to HEAD at 200106241
Original commit message from CVS:
Merged from GOBJECT1 to HEAD at 200106241
2001-06-25 01:20:11 +00:00
Thomas Vander Stichele
710fb2ad9f added some minor stuff
Original commit message from CVS:
added some minor stuff
2001-06-15 16:42:12 +00:00
Thomas Vander Stichele
4af8c58268 changed cutter example to use a thread
Original commit message from CVS:
changed cutter example to use a thread
2001-06-14 18:04:16 +00:00
Thomas Vander Stichele
c8d950b8ef cutter now uses afsink to write out wavs we will add a queue next to handle latency problems
Original commit message from CVS:
cutter now uses afsink to write out wavs
we will add a queue next to handle latency problems
2001-06-13 22:09:58 +00:00
Thomas Vander Stichele
af0f1309c7 added cutter example
Original commit message from CVS:
added cutter example
2001-06-13 21:52:42 +00:00
Thomas Vander Stichele
b997098405 added example program to show how cutter plugin works
Original commit message from CVS:
added example program to show how cutter plugin works
2001-06-13 16:20:49 +00:00
Wim Taymans
978c380731 Fixed the helloworld example by using a pipeline as the toplevel element.
Original commit message from CVS:
Fixed the helloworld example by using a pipeline as the toplevel element.
2001-06-02 16:38:58 +00:00
Thomas Vander Stichele
434d40d4c5 ok, this works now
Original commit message from CVS:
ok, this works now
2001-06-01 22:36:04 +00:00
Thomas Vander Stichele
8d262037b9 test for disconnect and reconnect of elements
Original commit message from CVS:
test for disconnect and reconnect of elements
2001-06-01 22:23:24 +00:00
Wim Taymans
42ebe8b588 Fixed a couple of compiler warnings.
Original commit message from CVS:
Fixed a couple of compiler warnings.
2001-06-01 18:24:41 +00:00
Wim Taymans
23070df56d Removed the thread test so make distcheck works.
Original commit message from CVS:
Removed the thread test so make distcheck works.
2001-05-31 19:52:09 +00:00
Wim Taymans
bc30d3872a Added the mem.h file in noinst_HEADERS.
Original commit message from CVS:
Added the mem.h file in noinst_HEADERS.
2001-05-31 19:18:51 +00:00
Wim Taymans
c50c190b17 Added the headers
Original commit message from CVS:
Added the headers
2001-05-27 23:12:57 +00:00
Wim Taymans
4b984710c6 Updated for new API calls.
Original commit message from CVS:
Updated for new API calls.
2001-05-27 22:55:46 +00:00
Wim Taymans
986777c851 Makfeile updates.
Original commit message from CVS:
Makfeile updates.
2001-05-27 22:25:32 +00:00
Erik Walthinsen
a3d7869aaa various build fixes
Original commit message from CVS:
various build fixes
2001-05-27 21:56:04 +00:00
Wim Taymans
9fcb8430cd Updated for removed methods.
Original commit message from CVS:
Updated for removed methods.
2001-05-27 14:39:17 +00:00
Wim Taymans
5b436ccbe1 Updated for remove methods.
Original commit message from CVS:
Updated for remove methods.
2001-05-27 14:38:43 +00:00
Erik Walthinsen
e430bc2d95 shut up fakesrc and fakesink, changed sleeping a little
Original commit message from CVS:
shut up fakesrc and fakesink, changed sleeping a little
2001-05-26 05:36:26 +00:00
Erik Walthinsen
3b50989958 moved debug to before _init so cmdline can override, and put sleep(1)'s in while(1) to increase chance of contention ...
Original commit message from CVS:
moved debug to before _init so cmdline can override, and put sleep(1)'s in while(1) to increase chance of contention (I think)
2001-05-26 05:26:47 +00:00
Erik Walthinsen
7780b294e3 updated threadlock to actually be a thread locking test
Original commit message from CVS:
updated threadlock to actually be a thread locking test
2001-05-26 05:19:33 +00:00
Erik Walthinsen
4a583683e5 Merged from INCSCHED on 200505251!!!
Original commit message from CVS:
Merged from INCSCHED on 200505251!!!
2001-05-25 21:00:07 +00:00
David I. Lehn
c447ea71a4 Pass buffer in handoff signal
Original commit message from CVS:
Pass buffer in handoff signal
2001-05-10 20:28:51 +00:00
David I. Lehn
9eaced94af just call exit() once
Original commit message from CVS:
just call exit() once
2001-05-10 20:25:29 +00:00
Wim Taymans
a7566d4158 We don't want to teach you bad habbits, so here's a fix for a memleak in the example plugin.
Original commit message from CVS:
We don't want to teach you bad habbits, so here's a fix for a memleak in
the example plugin.
2001-05-02 23:12:37 +00:00
Richard Boulton
0bf1a380cc Remove #include <gnome.h> from some tests which don't actually need it, and make the other tests and the autoplug exa...
Original commit message from CVS:
Remove #include <gnome.h> from some tests which don't actually need it,
and make the other tests and the autoplug example only compile if gnome
headers are present.
2001-04-25 11:49:38 +00:00
Wim Taymans
892f4b3204 API docs updates.
Original commit message from CVS:
API docs updates.
Properly implemented the disksink.
Fixed a compile problem with alsa.
Added bufferpool handling to dvdec
Some compiler warning fixes
2001-04-22 16:04:19 +00:00
Richard Boulton
610e9e8227 Merged from BRANCH-PLUGINVER1
Original commit message from CVS:
Merged from BRANCH-PLUGINVER1
2001-04-22 12:30:14 +00:00
Wim Taymans
57a5017c8b Fixed a few plugins so that mpeg1 encoding sorta works.
Original commit message from CVS:
Fixed a few plugins so that mpeg1 encoding sorta works.
Added an mpeg1 encoder example, it uses the autoplugger to convert
the stream to audio/video, which is then fed to the encoders.
2001-04-21 17:45:56 +00:00
Thomas Vander Stichele
4ad674a2a2 mixer now works with variable inputs mixer creates custom volume envelopes allowing each song to play alone and end w...
Original commit message from CVS:
* mixer now works with variable inputs
* mixer creates custom volume envelopes allowing each song to play alone
and end with a mix of all of them, undistorted
2001-04-18 16:08:59 +00:00
Thomas Vander Stichele
bbb7ab7055 cleaned up some code and integrated with new adder (mixer now works with different types of files)
Original commit message from CVS:
* cleaned up some code and integrated with new adder (mixer now works with
different types of files)
2001-04-18 14:04:08 +00:00
Thomas Vander Stichele
7c5e80c383 changed mixer to work by autoplugging the input channels (not very useful yet, since the input buffers to volenv have...
Original commit message from CVS:
changed mixer to work by autoplugging the input channels
(not very useful yet, since the input buffers to volenv have different
sizes)
2001-04-17 21:17:55 +00:00
Wim Taymans
6bd5dcffab The first wave of docs updates
Original commit message from CVS:
The first wave of docs updates
Added a little more comments about the API usage in the api docs.
Some fixes for the capsnego testsuite.
2001-04-17 21:14:55 +00:00
Wim Taymans
a8ba9c4122 Autoplug3 shows an example of an autoplugged mp3 player.
Original commit message from CVS:
Autoplug3 shows an example of an autoplugged mp3 player.
Autoplug4 shows various static autoplugger examples.
2001-04-17 21:03:43 +00:00
Thomas Vander Stichele
64f5e810a1 header for mixer.c, containing input_pipe_t
Original commit message from CVS:
header for mixer.c, containing input_pipe_t
2001-04-17 17:48:19 +00:00
Thomas Vander Stichele
2d0a7dfad1 added a struct to set up input channels
Original commit message from CVS:
added a struct to set up input channels
2001-04-17 17:47:45 +00:00
Wim Taymans
ac7bf2494d Updated the padfactory test code.
Original commit message from CVS:
Updated the padfactory test code.
2001-04-16 21:48:44 +00:00
Erik Walthinsen
d74fc2e0fa Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
Original commit message from CVS:
Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
2001-04-16 21:43:21 +00:00
Thomas Vander Stichele
5050318744 changed volume envelope; should do a nice transition between both songs now
Original commit message from CVS:
changed volume envelope; should do a nice transition between both songs
now
2001-04-16 19:38:56 +00:00
Wim Taymans
d0921a2897 Added an example audio mixer.
Original commit message from CVS:
Added an example audio mixer.
2001-04-16 16:34:16 +00:00
Wim Taymans
3c7dde9ad4 Add the xvideosink to the example.
Original commit message from CVS:
Add the xvideosink to the example.
2001-04-16 10:55:52 +00:00
Wim Taymans
b38d9a945b A rather large patch:
Original commit message from CVS:
A rather large patch:
- changed the API for the padtemplates:
- remove the factories (array of pointers) for the padtemplates,
properties and caps. The static array was a nice idea but converting
all the property values to a gpointer was not a good idea.
float properties were not possible, and casting a gint to a pointer
is not very portable. The new API just uses the _padtemplate_new,
_caps_new and _props_new functions to create the templates.
This has the added benefit that the API is now uniform for static
and dynamic templates and that the code can be made cleaner.
- lots of cleanups in the way the capabilities are constructed (va_list)
- lots of updates for all the plugins (new API)
- docs updates (new API)
- removed the videoraw docs.
2001-04-14 18:56:37 +00:00
Wim Taymans
335080574f Lots of updates to the plugins for caps negotiation.
Original commit message from CVS:
Lots of updates to the plugins for caps negotiation.
Added YUY2 output to the win32 dlls.
Added a colorspace converter in gstplay
2001-04-12 18:11:19 +00:00
Wim Taymans
c3a64ce1f6 Merged the float property patch from Steve Baker. This patch doesn't really work yet...
Original commit message from CVS:
Merged the float property patch from Steve Baker. This patch doesn't
really work yet...
2001-04-02 19:56:34 +00:00
Wim Taymans
6912e1946e Adjust the test cases to the new FOURCC API.
Original commit message from CVS:
Adjust the test cases to the new FOURCC API.
2001-03-31 00:13:51 +00:00
Wim Taymans
04813b163b Simplified the FOURCC API to the caps, add a GST_MAKE_FOURCC macro to create a fourcc.
Original commit message from CVS:
Simplified the FOURCC API to the caps, add a GST_MAKE_FOURCC macro
to create a fourcc.
Adjusted the plugins to use the new FOURCC API
2001-03-30 23:56:07 +00:00
Wim Taymans
54347a618b Small updates to the .cvsignore files.
Original commit message from CVS:
Small updates to the .cvsignore  files.
2001-03-30 20:10:45 +00:00
Wim Taymans
0837e1e495 Modified a lot of plugins to use the caps system.
Original commit message from CVS:
Modified a lot of plugins to use the caps system.
Modified the caps of audio/raw to our agreed properties.
Added the multidisksrc plugin of Dominic Ludlam
Renamed audiosink/src to osssink/src and updated all the examples using
the old name. Moved oss specific plugins in an oss directory. removed
the old audiosink from the elements/ dir.
removed audioraw.h metadata header files since we now use the properties.
There are still a few plugins that won't build because they include the
old audioraw.h header file. This will be fixed soon.
Make sure the caps are set in the plugins as described by their
padtemplates (this should solve problems with gstmediaplay with various
media files).

*please don't panic when some plugins won't build, just cd manually into
the plugin dirs* This will be fixed soon.
2001-03-24 17:22:03 +00:00
Richard Boulton
d80375c632 Added --enable-plugin-docs configure option, to enable build of the plugin documentation (currently broken). This de...
Original commit message from CVS:
Added --enable-plugin-docs configure option, to enable build of the plugin
documentation (currently broken).  This defaults to off.
Changed --enable-docs-build to default to on, since all other documentation
should build correctly.

Also, correct typo in manual, and fix up a couple of things in example.c
2001-03-20 23:12:24 +00:00
Wim Taymans
7d4666d4dc Added the new enum testcase to .cvsignore
Original commit message from CVS:
Added the new enum testcase to .cvsignore
2001-03-20 18:29:46 +00:00
Wim Taymans
0267b92c93 More work on capsnego proxying. It should be OK now.
Original commit message from CVS:
More work on capsnego proxying. It should be OK now.
Added another testcase enum that shows various capsnego algorithms.
Warn about pads that try to set a capability incompatible with their
padtemplate.
Implemented refcounting and copy_on_write for caps/props.
2001-03-20 18:29:00 +00:00
Wim Taymans
29cb713b21 More work on capsnego, mostly proxying
Original commit message from CVS:
More work on capsnego, mostly proxying
Added another testsuite for capsnego
Added caps to vorbisdec, mp3parse, mp1videoparse
Redid the queue proxy handling a bit.
2001-03-18 16:17:39 +00:00
Wim Taymans
3534e68563 Reworked the capsnegotiation function audiosink now uses capsnego to set its parameters mpg123/ac3dec use capsnego in...
Original commit message from CVS:
Reworked the capsnegotiation function
audiosink now uses capsnego to set its parameters
mpg123/ac3dec use capsnego instead of metadata
Added the beginnings of a testsuite for capsnego.
2001-03-18 02:42:30 +00:00
Wim Taymans
29a006c8d8 Updated the autoplug example with the new autoplugger. there still is a scheduling issue though.
Original commit message from CVS:
Updated the autoplug example with the new autoplugger. there still is
a scheduling issue though.
2001-03-13 18:57:25 +00:00
Wim Taymans
3ec275832a Merged the CAPSNEGO1 branch..
Original commit message from CVS:
Merged the CAPSNEGO1 branch..
2001-03-12 21:02:12 +00:00
Richard Boulton
1f3f906886 Updated test to have a comment explaining its purpose (very important this, especially for regression tests), and to ...
Original commit message from CVS:
Updated test to have a comment explaining its purpose (very important this,
especially for regression tests), and to actually test what I meant it to.
2001-03-09 12:29:51 +00:00
Richard Boulton
51847f3fe4 Added a testsuite. This currently only has one test, which replicates a problem just submitted to the list.
Original commit message from CVS:
Added a testsuite.  This currently only has one test, which replicates a
problem just submitted to the list.

I hope noone disagrees that we need a testsuite.  Also, hopefully we all
think that a tiny testsuite which is easy to add tests to is much better
than a huge project to create a complete testsuite, which never gets
started because its too big and scary.

I suggest that tests get created whenever someone has a spare moment, or
whenever a bug is reported (to replicate the problem, and thus be sure that
when fixed it stays fixed), and before making a change to a piece of code
to ensure that it remains working.

If we all add little tests occasionally, then we'll have a good useful
testsuite before we know it.  All you need to do is make a
2001-03-09 12:08:38 +00:00
Wim Taymans
55006f6367 Merged the AUTOPLUG2 branch
Original commit message from CVS:
Merged the AUTOPLUG2 branch
2001-03-07 21:52:56 +00:00
Wim Taymans
30685cb8c9 Added quotes around the command line mp3 player
Original commit message from CVS:
Added quotes around the command line mp3 player
2001-03-06 20:06:07 +00:00
Wim Taymans
3c79a3d66f Make the autoplugging example work again with an ugly hack until we have autoplug2 merged...
Original commit message from CVS:
Make the autoplugging example work again with an ugly hack until we
have autoplug2 merged...
2001-03-02 17:56:02 +00:00
Wim Taymans
f37f8a939e Added directories to Makefiles for DIST
Original commit message from CVS:
Added directories to Makefiles for DIST
2001-02-24 16:56:19 +00:00
Wim Taymans
1340064d57 More doc updates
Original commit message from CVS:
More doc updates
Manual additions: xml/load save of custom XML, debugging, request pads
added a signal to the example plugin
fixed a bug in mp3parse (ifdef 1)
2001-02-22 23:18:51 +00:00
Wim Taymans
94472df1c2 Fixed an unclosed comment
Original commit message from CVS:
Fixed an unclosed comment
2001-02-22 17:13:30 +00:00
Erik Walthinsen
2324ea92c8 significant commenting of the example plugin
Original commit message from CVS:
significant commenting of the example plugin
2001-02-22 01:34:25 +00:00
Wim Taymans
1a5cfae0f6 Added a first attempt for XML embedding in the main core XML.
Original commit message from CVS:
Added a first attempt for XML embedding in the main core XML.
Objects will emit a signal that a user app can connect to in order to
insert its XML into the tree.
You can catch the object_loaded signal in GstXML to parse the user
supplied XML data in the stream. The object_loaded signal is implemented
with a custom made class signal. All GstObject classes now automatically
create a GstSignalObject that serves as a proxy to the user app when an
object is loaded. All objects are currently responsible to emit the
class signal themselves.
runxml and createxml serve as an example how the XML hooks can be used to
insert and retrieve custom XML tags.
2001-01-30 23:53:04 +00:00
Wim Taymans
eaeadf52e3 Lots of plugins fixes where the parentage macros were replaced with the correct gst_*_get_parent.
Original commit message from CVS:
Lots of plugins fixes where the parentage macros were replaced with the
correct gst_*_get_parent.
Updated the example.
'gstreamer' now is the doc type instead of GST-Pipeline
2001-01-29 23:50:29 +00:00
Wim Taymans
51cbf22624 This is a megapatch with the following changes:
Original commit message from CVS:
This is a megapatch with the following changes:

- moved the gchar *name to GstObject, removed the ones in GstElement and
GstPad.
- moved the parent handling completely into GstObject. This cause *all* of
the plugins to fail (except those that used gst_pad_get_parent)
- rearanged the XML save handling.
- GstObject now has a class function save/restore_thyself.
- GstObject has a generic method gst_object_save_thyself, this makes it
possible to fire a signal wehever a new object is loaded. This is needed
so we can add XML save hooks.
- GstXML API has changed slightly. You now have to create a GstXML object
first before you can actually load something. This makes it possible to
attach a signal to GstXML whenever an object is loaded. I'm not sure we
will keep this interface.
- GstObject can now print the path_string without knowing about the GstPad and
GstElement types.
- Added gst_bin_get_by_name_recurse_up to lookup an element in the current
element hierarchy.
- added XML namespaces to the saved pipelines the namespace is:
http://gstreamer.net/gst-core/1.0/
namespaces are needed to distinguish user generated XML from the core XML.

Note that the plugins still contain a macro GST_OBJECT_PARENT that will be
replaced with gst_pad_get_parent shortly.
2001-01-29 00:06:02 +00:00
Richard Boulton
d20f0b4bae Add gst_element_request_compatible_pad and remove gst_element_request_pad.
Original commit message from CVS:
Add gst_element_request_compatible_pad and remove gst_element_request_pad.
Implemented something reasonable for gst_element_request_compatible_pad,
but havn't tested much: it won't work for tee because the pad templates
have no caps, and negotiation is not yet written, so it is assumed that the
tee pads can't connect to anything.
2001-01-23 18:42:23 +00:00
Richard Boulton
ba237a38dd Fix launch so that it can play a list of files, now that EOS works enough. (It needs to not have to restart gstreamer...
Original commit message from CVS:
Fix launch so that it can play a list of files, now that EOS works enough.
(It needs to not have to restart gstreamer each time, but good enough for
now ;-) )
2001-01-22 23:39:23 +00:00
Wim Taymans
bc9054e18e Added another test case, a bin in a thread, to test EOS. still hangs because gtk_main hangs in a __poll somewhere.
Original commit message from CVS:
Added another test case, a bin in a thread, to test EOS. still hangs because
gtk_main hangs in a __poll somewhere.
2001-01-21 16:08:37 +00:00
Wim Taymans
044c4611af More eos handling, bin in bin is handled correctly now.
Original commit message from CVS:
More eos handling, bin in bin is handled correctly now.
Updated gstreamer-launch to loop while !EOS.
2001-01-21 16:06:42 +00:00
Wim Taymans
029e7bfbd9 More test cases for EOS handling
Original commit message from CVS:
More test cases for EOS handling
2001-01-20 17:53:03 +00:00
Erik Walthinsen
fdadef86d9 updated tests code to new ghostpad API
Original commit message from CVS:
updated tests code to new ghostpad API
2001-01-20 03:36:20 +00:00
Wim Taymans
de4b9f654e Two more test cases
Original commit message from CVS:
Two more test cases
2001-01-20 03:02:29 +00:00
Wim Taymans
9b3f1277ce API docs updates
Original commit message from CVS:
API docs updates
2001-01-19 22:15:21 +00:00
Erik Walthinsen
74f8050844 Major cleanup of the latest ghostpad changes. Fixed everything that broke, correctly. Someone will want to go updat...
Original commit message from CVS:
Major cleanup of the latest ghostpad changes.  Fixed everything that
broke, correctly.  Someone will want to go update the API doc templates.
2001-01-19 09:37:32 +00:00
Wim Taymans
085b22ac1f Added a little tee test program.
Original commit message from CVS:
Added a little tee test program.
2001-01-19 00:07:40 +00:00
Richard Boulton
82769bcae9 Some more fixes for libxml.
Original commit message from CVS:
Some more fixes for libxml.
Also, some code formatting changes in esdsink, some further fixes to
vumeter, and some work on synaesthesia to make it closer to working
(it doesn't fully work yet, though. :( )
2001-01-18 15:29:46 +00:00
Wim Taymans
6b317bf748 Oops
Original commit message from CVS:
Oops
2001-01-17 07:43:13 +00:00
Wim Taymans
a9967137df Added the typefind example from the manual
Original commit message from CVS:
Added the typefind example from the manual
2001-01-17 00:01:48 +00:00
Wim Taymans
fce9a96f3f Fixed a Makefile error
Original commit message from CVS:
Fixed a Makefile error
2001-01-14 22:23:59 +00:00
Erik Walthinsen
9ca8248cc2 Massive build fixup. Will send message to -devel list later with details on the changes and what they mean for Makef...
Original commit message from CVS:
Massive build fixup.  Will send message to -devel list later with details
on the changes and what they mean for Makefile.am writers.  Check
docs/random/omega/build/TODO for a list of things that I had to make sure
of.

NOTE: this requires a complete rebuild of all plugins, since I also
changed the STATE enum to a bitfield instead of sequential numbers.
2001-01-14 21:55:41 +00:00
Richard Boulton
c12e795dec Move plugin example code to new location, and put it into build system.
Original commit message from CVS:
Move plugin example code to new location, and put it into build system.
Add work on firstplugin chapter of pwg.
Fix typo in quotes.
Add @'s before commands in manuals.mak
2001-01-08 23:55:27 +00:00
Wim Taymans
2a4a536fee Manual updates. fixes to gstxml.c gst_xml_get_element was broken
Original commit message from CVS:
Manual updates.
fixes to gstxml.c gst_xml_get_element was broken
2001-01-08 22:08:40 +00:00
Wim Taymans
7a40eda7b6 Added a sample tescase file
Original commit message from CVS:
Added a sample tescase file
2001-01-07 22:59:18 +00:00
Wim Taymans
45d5c57cb9 Added/updated .cvsignore
Original commit message from CVS:
Added/updated .cvsignore
2001-01-06 16:56:15 +00:00
Wim Taymans
f068579abd Fixed mp3play
Original commit message from CVS:
Fixed mp3play
2001-01-04 19:22:37 +00:00
Richard Boulton
00aff5b225 Undo accidental commit of debugging version.
Original commit message from CVS:
Undo accidental commit of debugging version.
2001-01-04 17:44:51 +00:00
Richard Boulton
dccc0d8714 Updated to supply argument as "name=value" rather than just "value"
Original commit message from CVS:
Updated to supply argument as "name=value" rather than just "value"
2001-01-04 00:15:42 +00:00
Richard Boulton
f4ae52d0ab Do gst_init first, so we can supply debugging options to libgst
Original commit message from CVS:
Do gst_init first, so we can supply debugging options to libgst
2001-01-03 22:58:58 +00:00
Richard Boulton
126569f47c Do gst_init first in helloworld, so you can supply gst parameters.
Original commit message from CVS:
Do gst_init first in helloworld, so you can supply gst parameters.
Correct name of frequency cap to rate, in esdsink.  Now connects properly.
2001-01-03 19:12:21 +00:00
Wim Taymans
fea2f662c1 The examples must not be installed
Original commit message from CVS:
The examples must not be installed
Removed debugging from Makefiles for avidecoder/ac3parse
/test/bindings/dummy.h cannot be installed
2001-01-02 19:46:43 +00:00
Erik Walthinsen
ae0d5d1889 Massive, massive update of most source files. I went through and cleaned up all the warnings that I could, which inv...
Original commit message from CVS:
Massive, massive update of most source files.  I went through and cleaned
up all the warnings that I could, which involved fixing some of the plugins.

The configure.in script was re-arranged and cleaned up so, and a check for
libtool 1.3.5 was added to autogen.sh.  Added checks for Gtk and GNOME.

Some plugins were removed from the list of things to build for various reasons.

Added GST_DEBUG_FORCE_DISABLE in gstgetbits, since that's time critical and
even an if() from a DEBUG can significantly increase runtimes.
2001-01-02 08:13:34 +00:00
Wim Taymans
18132480f4 ooops, eos is a dir
Original commit message from CVS:
ooops, eos is a dir
2001-01-02 02:18:50 +00:00
Wim Taymans
49b6a51534 Fixed makefiles for docs
Original commit message from CVS:
Fixed makefiles for docs
Added eos test programs
2001-01-02 02:16:24 +00:00
Richard Boulton
9f9f59141f Added launch back into make system.
Original commit message from CVS:
Added launch back into make system.
The Makefile wasn't being generated, resulting in make dist failing when
the directory was entered for make dist.
2001-01-02 00:31:26 +00:00
Wim Taymans
5d171b83c7 Added directories to DIST_SUBDIRS
Original commit message from CVS:
Added directories to DIST_SUBDIRS
2001-01-01 23:50:07 +00:00
Erik Walthinsen
5c60d369c7 somehow Makefile.am went zero-bytes
Original commit message from CVS:
somehow Makefile.am went zero-bytes
2001-01-01 23:20:42 +00:00
Erik Walthinsen
f559fb0928 updated examples build stuff
Original commit message from CVS:
updated examples build stuff
2001-01-01 22:44:20 +00:00
Erik Walthinsen
cd744791c5 More build fixes
Original commit message from CVS:
More build fixes
2001-01-01 21:21:25 +00:00
Richard Boulton
a2c260761d Add one more file to dist.
Original commit message from CVS:
Add one more file to dist.
2001-01-01 14:34:06 +00:00
Richard Boulton
5637570cc1 Fix broken build system for examples.
Original commit message from CVS:
Fix broken build system for examples.
2001-01-01 13:41:27 +00:00
Erik Walthinsen
2da16ed5ed Re-arranged the build a bit to try to make it more sane. Added some debug.
Original commit message from CVS:
Re-arranged the build a bit to try to make it more sane.  Added some debug.
2001-01-01 08:37:41 +00:00
Wim Taymans
39a19ca625 Added -Wall to configure.in
Original commit message from CVS:
Added -Wall to configure.in
2001-01-01 06:59:49 +00:00
Wim Taymans
3c883fb43a Updated test programs
Original commit message from CVS:
Updated test programs
2001-01-01 04:10:52 +00:00
Erik Walthinsen
d6c3cc8a73 added .cvsignore
Original commit message from CVS:
added .cvsignore
2001-01-01 03:44:19 +00:00
Erik Walthinsen
24c64f54c5 updated .cvsignore
Original commit message from CVS:
updated .cvsignore
2001-01-01 03:22:59 +00:00
Erik Walthinsen
077e68edb1 fixed stupid spelling mistake
Original commit message from CVS:
fixed stupid spelling mistake
2001-01-01 03:18:40 +00:00
Erik Walthinsen
582fcaffcd hopefully one last update to the examples .cvsignores
Original commit message from CVS:
hopefully one last update to the examples .cvsignores
2001-01-01 00:44:45 +00:00
Erik Walthinsen
5307686379 cleaned up the examples, added Makefiles, etc
Original commit message from CVS:
cleaned up the examples, added Makefiles, etc
2001-01-01 00:42:10 +00:00
Erik Walthinsen
0b650eb737 Updated makefiles for examples
Original commit message from CVS:
Updated makefiles for examples
2001-01-01 00:34:13 +00:00
Erik Walthinsen
65e47b2548 New test programs.
Original commit message from CVS:
New test programs.
2000-12-31 22:14:06 +00:00
Erik Walthinsen
45ab0201da I'm too lazy to comment this
Original commit message from CVS:
*** empty log message ***
2000-12-31 22:13:31 +00:00
Erik Walthinsen
86e3f88515 Converted to a Makefile.am, fixed up the GstSrc thing, and removed a set to READY state before PLAYING that isn't nec...
Original commit message from CVS:
Converted to a Makefile.am, fixed up the GstSrc thing, and removed a set
to READY state before PLAYING that isn't necessary.
2000-12-31 22:11:35 +00:00
Wim Taymans
1c5119618d Updated the docs
Original commit message from CVS:
Updated the docs
Updated gst/Makefile.am to add CFLAGS
Added test programs to tests/.cvsignore
2000-12-31 17:02:47 +00:00
Wim Taymans
35bd31f261 Test program for the pad factory
Original commit message from CVS:
Test program for the pad factory
2000-12-31 16:15:11 +00:00
Wim Taymans
bc4619a44b Added multiple caps to the pads
Original commit message from CVS:
Added multiple caps to the pads
Extended the padfactory for the multiple caps
GstCaps now have a name so that future manipulations on them can be done by name
Updated the plugins for the new caps list
2000-12-31 16:12:48 +00:00
Wim Taymans
2e6abf825a Updated some test programs
Original commit message from CVS:
Updated some test programs
2000-12-29 18:31:06 +00:00
Wim Taymans
f4a635c8dc Pending editor changes. fixes for autoplug of elementary MPEG1 video streams make sure mp3 types get compiled videosi...
Original commit message from CVS:
Pending editor changes.
fixes for autoplug of elementary MPEG1 video streams
make sure mp3 types get compiled
videosink changes for xml loading
2000-12-28 02:51:07 +00:00
Erik Walthinsen
1d0694ade4 added case4
Original commit message from CVS:
added case4
2000-12-27 00:01:27 +00:00
Wim Taymans
0062e168ca Fixed a bug in gstbin.c the manager was not detected.
Original commit message from CVS:
Fixed a bug in gstbin.c the manager was not detected.
Some other testcases
bin, thread, pipeline use the elementfactory on gst_*_new
2000-12-22 23:23:10 +00:00
Wim Taymans
9987a75b1b Implemented some test cases... they all fail :-(
Original commit message from CVS:
Implemented some test cases... they all fail :-(
Added a flag to identity to for loop_based behaviour.
Added a signal to fakesink when a buffer is consumed.
2000-12-22 16:14:33 +00:00
Wim Taymans
a914e7b210 More testcases
Original commit message from CVS:
More testcases
2000-12-21 20:21:19 +00:00
Wim Taymans
c41af26c49 70+ testcases to start with
Original commit message from CVS:
70+ testcases to start with
2000-12-21 19:53:56 +00:00
Wim Taymans
09daa1a57b Small test program for the property system
Original commit message from CVS:
Small test program for the property system
2000-12-19 16:38:16 +00:00
Wim Taymans
efda5ffd9a Added API to dynamically create GstCaps and GstProps
Original commit message from CVS:
Added API to dynamically create GstCaps and GstProps
Changed typefind of mpeg1 to set the GstProps.
autoplugging now works again for mpeg1, whoohoo!
2000-12-19 16:36:10 +00:00
Wim Taymans
0b1967b440 Added the autoplugger. some .dia drawings of the objects the autoplug test program.
Original commit message from CVS:
Added the autoplugger.
some .dia drawings of the objects
the autoplug test program.
2000-12-19 13:44:23 +00:00
Wim Taymans
bbb9799996 Cleanup in gsttypes.c: removed the crazy GList of GHashTables, since the autoplugger will use the GstCaps and element...
Original commit message from CVS:
Cleanup in gsttypes.c:
removed the crazy GList of GHashTables, since the autoplugger will
use the GstCaps and elementfactories instead of the type system.
We don't maintain a list anymore of the elements for the specific
removed unused code in XML loading/saving.

Cleanup in gstelementfactory:
removed the register/unregister methods, register is now implicit when
gst_elementfactory_new is called. _unregister is now _destroy.
Removed logic to register/unregister the types in gsttypes.
added methods to query if the factory can src/sink a GstCaps
Make sure the elementfactory is set in the element_class when a new
element is registered with gst_elementfactory_new.

gst.c: properly register the basic bins
gst_pipeline: use new gstautoplug (next checkin)
gstprops: fixed an error in compatibility check
registry test program changes
plugins: misc changes for the new caps system.
2000-12-19 13:41:55 +00:00
Wim Taymans
c6ac8a0f6b some editor changes= loading of save pipelines (not working) added include in gstdebug.h for getpid property loading ...
Original commit message from CVS:
some editor changes= loading of save pipelines (not working)
added include in gstdebug.h for getpid
property loading implemented
GstXML can now be queried for the toplevel elements.
2000-12-16 17:12:28 +00:00
Erik Walthinsen
da03fde054 WARNING: Don't grab this updated unless you're really, REALLY sure.
Original commit message from CVS:
WARNING: Don't grab this updated unless you're really, REALLY sure.
WARNING: Wait for the next one.

Whole lotta changes here, including a few random bits:

examples/*/Makefile: updated to use `libtool gcc`, not just `gcc`
gst/
gstbuffer.h: updated to new flag style
gst.c, gstdebug.h: added new debugging for function ptrs
gstpipeline.c: set type of parent_class to the class, not the object
gstthread.c: ditto
plugins/
cdparanoia/cdparanoia.c: added an argument type, updated some defaults
cobin/spindentity.c: updated to new do/while loopfunction style
mp3encode/lame/gstlame.c: argument types, whole lotta lame options
tests/: various changes

Now, for the big changes:  Once again, the scheduling system has changed.
And once again, it broke a whole bunch of things.  The gist of the change
is that there is now a function pointer for gst_pad_push and gst_pad_pull,
instead of a hard-wired function.  Well, currently they are functions, but
that's for debugging purposes only, they just call the function pointer
after spewing lots of DEBUG().

This changed the GstPad structure a bit, and the GstPad API as well.
Where elements used to provide chain() and pull() functions, they provide
chain() and get() functions. gst_pad_set_pull[region]_function has been
changed to get_pad_set_get[region]_function.  This means all the elements
out there that used to have pull functions need to be updated.  The calls
to that function have been changed in the normal elements, but the names
of the functions passed is still _pull[region](), which is an aesthetic
issue more than anything.

As for what doesn't work yet, just about anything dealing with Connections
is hosed, meaning threaded stuff won't work.  This will be fixed about 12
hours from now, after I've slept, etc.  The simplefake.c test works in
both cothreaded and chained cases, but not much else will work due to the
Connection problem.  Needless to say, don't grab this unless you *need*
these features *now*, else wait to update this stuff until tomorrow.

I'm going to sleep now.
2000-12-16 10:18:09 +00:00
Wim Taymans
64a740ad9b Move a step closer to autoplugging. The element selection in the pipeline works.
Original commit message from CVS:
Move a step closer to autoplugging. The element selection in the
pipeline works.
Slight modification to the typefind function handling.
removed the stupid mime types in the mpeg decoders.
Adjust videosink for the new caps handling.
Modified the queue example to show an error in plan creation; Erik can you
solve this? This is the type of pipelines autoplugging uses.
2000-12-15 16:43:26 +00:00
Wim Taymans
a63780a377 Header cleanup: try to include as little as possible; this will probably speed up compilation a bit.
Original commit message from CVS:
Header cleanup: try to include as little as possible; this will probably
speed up compilation a bit.
changed the .c files to use #include "..."
Fix for the 'plugins are loaded twice' bug.
Fix 22186: GstObject flags are now used everywhere. Added *_FLAG_LAST so
elements do not use the same flags. Added some padding in the flag enum
for future expansion.
2000-12-15 01:57:34 +00:00
Wim Taymans
d78215be9d More Caps changes, this change introduces the padfactory. the GstPadFactory will be used to describe the pads that an...
Original commit message from CVS:
More Caps changes, this change introduces the padfactory. the GstPadFactory
will be used to describe the pads that an element will contain during
its lifetime.
mpg123 and mp3parse serve as an example.
More XML changes to incorporate the padfactories.
2000-12-12 19:29:43 +00:00
Erik Walthinsen
5f7a20ff6f Added LAME encoder. Wow.
Original commit message from CVS:
Added LAME encoder.  Wow.
2000-12-12 09:40:25 +00:00
Erik Walthinsen
ffbc7201a7 Brand new source, the cdparanoia source. Reads audio data from a CD, writes out raw audio. The tests/paranoia.c pro...
Original commit message from CVS:
Brand new source, the cdparanoia source.  Reads audio data from a CD,
writes out raw audio.  The tests/paranoia.c program will simply hook this
up to a sound card.  It works perfectly.

Next step is to flesh out the rest of the element, including pad caps,
better seek and playout control, signals, and whatever else comes up.

A minor patch to the editor is included here, the GstElementFactory details
struct has a name change from 'class' to 'klass' that wasn't reflected
in the elementselect widget.  Fixd.
2000-12-12 06:49:26 +00:00
Erik Walthinsen
c28633b01d Updated to latest code for testing scheduling.
Original commit message from CVS:
Updated to latest code for testing scheduling.
2000-12-11 00:25:06 +00:00
Wim Taymans
ec1548618e Test program to check the registry handling
Original commit message from CVS:
Test program to check the registry handling
2000-12-11 00:06:16 +00:00
Wim Taymans
6fa6cd8ce4 First attempt at rebuilding the type/plugin system
Original commit message from CVS:
First attempt at rebuilding the type/plugin system
- make sure caps/props are saved in the registry
autoplugging is completely broken.
removed the typefactories and typeids from all the pads in the plugins
XML load/save is ok (be sure to rerun gstreamer-register)
2000-12-11 00:04:25 +00:00
Erik Walthinsen
1aed13ae6b Test program for simple queue operations. Good for testing thread/cothread interations.
Original commit message from CVS:
Test program for simple queue operations.  Good for testing thread/cothread
interations.
2000-12-08 20:31:40 +00:00
Wim Taymans
d29ff12b69 Updated the test program
Original commit message from CVS:
Updated the test program
2000-12-07 18:38:54 +00:00
Wim Taymans
61ed3b06ee More test cases.
Original commit message from CVS:
More test cases.
2000-12-03 20:15:24 +00:00
Wim Taymans
9652a3aef9 Added a test program for the capabilities
Original commit message from CVS:
Added a test program for the capabilities
2000-12-03 17:52:14 +00:00
Wim Taymans
e8ea96d23b Some code cleanup
Original commit message from CVS:
Some code cleanup
Let the parent GstBin decide when to do a create_plan (bin inside a thread)
2000-11-01 22:11:48 +00:00
Wim Taymans
870c6045b2 Fixed a severe timestamp bug in mpeg_play.
Original commit message from CVS:
Fixed a severe timestamp bug in mpeg_play.
Create a new thread upon a multisrc element in autoplugging: the autoplug
example now correctly sets up 5 threads for an mpeg player.
2000-10-09 20:01:17 +00:00
Wim Taymans
b772f81d4a Added an autoplug example. This little program (30 relevant lines) is able to play MPEG1(system)/MPEG2(system)/AVI(DI...
Original commit message from CVS:
Added an autoplug example. This little program (30 relevant lines) is able
to play MPEG1(system)/MPEG2(system)/AVI(DIVX)/Vorbis/AC3 and whatever codec
you write.
Separated the mp3 and mpeg1 types for better reuse.
2000-10-08 22:23:12 +00:00
Wim Taymans
4e7f031df7 Loading and saving of XML pipeline descriptions.
Original commit message from CVS:
Loading and saving of XML pipeline descriptions.
GladeXML like operation implemented (you can retrieve parts of a pipeline)
2000-09-27 19:33:10 +00:00
Wim Taymans
9fec44e1c5 better .cvsignore
Original commit message from CVS:
better .cvsignore
2000-09-24 22:47:08 +00:00
Wim Taymans
31d31ddc2a Cleanups.
Original commit message from CVS:
Cleanups.
The first steps to a Glade like XML handling.
A first example of what is to come...
2000-09-24 22:45:48 +00:00
Wim Taymans
c6b47b8ed2 An example of two threads and two queues.
Original commit message from CVS:
An example of two threads and two queues.
2000-09-24 14:31:21 +00:00
Wim Taymans
e5ab7f33ac A first attempt to fix the queues in a cothreaded pipeline.
Original commit message from CVS:
A first attempt to fix the queues in a cothreaded pipeline.
Some fixes to the thread handling.
Fix a bug in gstreamer-config : gthread was not included.
gst_bin_create_plan() is now done in the READY state.
a bin with only another bin in it will now work with gst_bin_iterate.
Added some examples for the queues.
2000-09-22 23:35:14 +00:00
Wim Taymans
cab1728fa5 Added gst_pipeline_add_sink/src to allow multiple sink cases and more complex autoplugging. Update docs too.
Original commit message from CVS:
Added gst_pipeline_add_sink/src to allow multiple sink cases and
more complex autoplugging. Update docs too.
Simplified the pipeline autoplugging code.
Changed the cothread case: One iteration is now a push from the src
element. The disk source does not change its state anymore on eof.
Better type setting for the ac3 parser/decoder and mpeg2parse.
2000-09-17 22:08:09 +00:00
Wim Taymans
1351aba899 A thread example.
Original commit message from CVS:
A thread example.
An example of gstreamer-launch: an mp3 player
2000-09-09 16:39:03 +00:00
Wim Taymans
552b7f32aa Changes to gstreamer-config to include gtk+ libs manual changes: queues, threads, programs gsteditor does not crash a...
Original commit message from CVS:
Changes to gstreamer-config to include gtk+ libs
manual changes: queues, threads, programs
gsteditor does not crash anymore.
gstpipline new should return a GstElement *
fixed ac3dec for new getbits
fixes to gstreamer-launch
more efficient startup for gstplay.
2000-09-09 16:36:10 +00:00