Commit graph

84 commits

Author SHA1 Message Date
Wim Taymans
5ad018148c Some more work on cleanup.
Original commit message from CVS:
Some more work on cleanup.
- added two functions in the scheduler _setup and _reset to initialize
the context. In the case of the cothread context we have to map the
cothread stack space onto the threads stack.
- setup/reset the scheduler context in the threads context.
- fix the ghostpad cleanup.
- slightly changed the scheduler code to cleanly remove connections.
2001-12-19 19:22:53 +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
Wim Taymans
97032976ae Don't try to build the marshall stuff with the gtk shims
Original commit message from CVS:
Don't try to build the marshall stuff with the gtk shims
2001-10-24 20:29:44 +00:00
Erik Walthinsen
381f7b930f BUILT_SOURCES patch from vishnu
Original commit message from CVS:
BUILT_SOURCES patch from vishnu
2001-10-24 04:44:30 +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
Steve Baker
a0334eba32 remove dparams from core
Original commit message from CVS:
remove dparams from core
2001-10-07 09:41:36 +00:00
Joshua N. Pritikin
59a47966f1 looks like cvs mangled something (?) -- try to repair
Original commit message from CVS:
looks like cvs mangled something (?) -- try to repair
2001-09-17 07:33:04 +00:00
Joshua N. Pritikin
8b29840f55 1. Add more warnings for the gst core only. Various trival fixes to quiet the warnings.
Original commit message from CVS:
1. Add more warnings for the gst core only.  Various trival fixes
to quiet the warnings.

2. Fix GstBufferCopyFunc prototype.

3. Re-apply the reverted type!=0 assertion in gst_elementfactory_new.
2001-09-14 22:16:47 +00:00
Joshua N. Pritikin
6ed590fe49 fix glib2 build
Original commit message from CVS:
fix glib2 build
2001-09-14 21:57:47 +00:00
Joshua N. Pritikin
59d6b74a61 1 fix duplicate #define of gst_marshal_VOID__OBJECT_POINTER 2 make g_critical automatically offer to do stack trace
Original commit message from CVS:
1 fix duplicate #define of gst_marshal_VOID__OBJECT_POINTER
2 make g_critical automatically offer to do stack trace
2001-09-13 21:16:25 +00:00
Steve Baker
750e6b8c97 dparams have arrived. see previous mail for an intro
Original commit message from CVS:
dparams have arrived. see previous mail for an intro
2001-09-10 16:28:43 +00:00
Erik Walthinsen
1aff968e49 and moved all the architecture- specific code out of the many header files and put them all in gstarch.h.
Original commit message from CVS:
Added MIPS support to cothreads (untested), and moved all the architecture-
specific code out of the many header files and put them all in gstarch.h.
2001-09-05 21:36:24 +00:00
Andy Wingo
07d52eef34 I think I finally have this configdir thing under control. The defines on the make command lines were not following t...
Original commit message from CVS:
I think I finally have this configdir thing under control. The defines on the
make command lines were not following the GST_CONFIG_DIR variable.
2001-09-02 01:56:20 +00:00
Bastien Nocera
711d79155d - ta ta ta, install gstevent.h, otherwise it doesn't work quite right, does it ?
Original commit message from CVS:
- ta ta ta, install gstevent.h, otherwise it doesn't work quite right, does it ?
2001-08-29 22:56:12 +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
Erik Walthinsen
f47ec2ab8b messy hack to make sure libgst.la builds properly (FIXME!)
Original commit message from CVS:
messy hack to make sure libgst.la builds properly (FIXME!)
2001-08-13 19:03:58 +00:00
Erik Walthinsen
f79f04f876 moved the object-model headers back to _HDR where they belong
Original commit message from CVS:
moved the object-model headers back to _HDR where they belong
2001-08-03 00:08:12 +00:00
Richard Boulton
22162769b8 Prefix for marshallers should be gst_marshal, rather than gst.
Original commit message from CVS:
Prefix for marshallers should be gst_marshal, rather than gst.
This now actually compiles for me.
2001-06-29 10:26:13 +00:00
Richard Boulton
b3e700e0f8 Ensure that the marshaller code #includes glib-object.h, and hence the neccessary definitions to enable it to compile.
Original commit message from CVS:
Ensure that the marshaller code #includes glib-object.h, and hence the
neccessary definitions to enable it to compile.

I don't pretend to understand how the marshalling stuff works - I just
know that it clearly needs this #include, or something similar.  If there's
a more correct fix, someone else can do it.  Possibly this is a
glib-genmarshal bug, but I've not got the time to go into that.
2001-06-29 09:39:58 +00:00
Richard Boulton
5ffe5a0901 Ensure that the gstmarshal.[ch] files are generated in time by generating both files in the same rule: previously, on...
Original commit message from CVS:
Ensure that the gstmarshal.[ch] files are generated in time by generating
both files in the same rule: previously, only the .c would be generated in
time.  Don't put the files in dists (add a dist-hook to take them out),
and clean the files when running distclean.
2001-06-28 23:58:54 +00:00
Richard Boulton
835d9ee594 Make sure conditionally compiled files are added to the dist.
Original commit message from CVS:
Make sure conditionally compiled files are added to the dist.
2001-06-28 21:44:33 +00:00
Wim Taymans
4498dccbec Removed the GST_CONFIG_DIR from config.h and made a -D CFLAG for it instead so that we can do full expansion on the s...
Original commit message from CVS:
Removed the GST_CONFIG_DIR from config.h and made a -D CFLAG for it
instead so that we can do full expansion on the sysconfdir.
2001-06-26 22:15:20 +00:00
Wim Taymans
6f0bce54fa Removed the final bits of GstMeta.
Original commit message from CVS:
Removed the final bits of GstMeta.
Added conditional compilation of various subsystems.
2001-06-25 20:36:02 +00:00
Erik Walthinsen
75d3b2f90b added gstmarshal.[ch] to .cvsignore, added gstmarshal.list to EXTRA_DIST
Original commit message from CVS:
added gstmarshal.[ch] to .cvsignore, added gstmarshal.list to EXTRA_DIST
2001-06-25 20:01:42 +00:00
Erik Walthinsen
e75f6da2f9 removed gstmarshal.[ch], added gstmarshal.list, and a first pass at generation rules
Original commit message from CVS:
removed gstmarshal.[ch], added gstmarshal.list, and a first pass at generation rules
2001-06-25 19:59:33 +00:00
Wim Taymans
d89a407f2f Added configure checks to disable various major subsystems.
Original commit message from CVS:
Added configure checks to disable various major subsystems.
2001-06-25 19:19:17 +00:00
Erik Walthinsen
91d7e800d5 Reworked the arguments for DEBUG and INFO. Removed -debug-verbose.
Original commit message from CVS:
Reworked the arguments for DEBUG and INFO.  Removed -debug-verbose.
Renamed GST_DISABLE_XML to GST_DISABLE_LOADSAVE and added --disable flag.
2001-06-25 06:45:56 +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
Erik Walthinsen
2703619624 initial pass at #ifdef'ing xml load/save
Original commit message from CVS:
initial pass at #ifdef'ing xml load/save
2001-06-24 21:18:28 +00:00
Richard Boulton
083d01c3d9 Revert accidentally applied changes.
Original commit message from CVS:
Revert accidentally applied changes.
Time for bed.
2001-06-05 01:27:53 +00:00
Richard Boulton
b971f48169 FIx memleak in save-thyself introduced by changing plugin_get_list to copy.
Original commit message from CVS:
FIx memleak in save-thyself introduced by changing plugin_get_list to
copy.
2001-06-05 01:26:01 +00:00
Erik Walthinsen
c442db8165 some fixes to handle builddirs, which distcheck uses, along with complete .pc files
Original commit message from CVS:
some fixes to handle builddirs, which distcheck uses, along with complete .pc files
2001-05-28 07:46:21 +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
Erik Walthinsen
91aa46b62d finished change to GST_ macros
Original commit message from CVS:
finished change to GST_ macros
2001-04-17 05:24:24 +00:00
Erik Walthinsen
f994c4fafe added gstversion.h
Original commit message from CVS:
added gstversion.h
2001-04-17 02:19:08 +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
Wim Taymans
55006f6367 Merged the AUTOPLUG2 branch
Original commit message from CVS:
Merged the AUTOPLUG2 branch
2001-03-07 21:52:56 +00:00
Erik Walthinsen
ca4e87219c added sparc cothreads
Original commit message from CVS:
added sparc cothreads
2001-03-02 18:30:37 +00:00
Erik Walthinsen
588c6968f9 Fixed cothreads.c problems with make dist. This still sucks badly.
Original commit message from CVS:
Fixed cothreads.c problems with make dist.  This still sucks badly.
2001-02-07 22:07:22 +00:00
Erik Walthinsen
5ed8c467bf more cothreads cleanup, and first pass at ARM code
Original commit message from CVS:
more cothreads cleanup, and first pass at ARM code
2001-01-19 09:14:42 +00:00
Wim Taymans
520fbbee75 Moved queue and typefind elements to the core since they are referenced by name.
Original commit message from CVS:
Moved queue and typefind elements to the core since they are referenced
by name.
2001-01-19 00:01:42 +00:00
Wim Taymans
90f82b6840 Added mthodes to request an element to create pads: gst_element_request_pad*
Original commit message from CVS:
Added mthodes to request an element to create pads: gst_element_request_pad*
This can be used to construct a tee and a muxer/mixer/aggregator element.
Moved the tee element to elements/ because it can now be handled with the
new pad request features.
The padfactory also has some changes: a pad can now be of presence REQUEST,
which means that the pad can be requested from this plugin (doh).
2001-01-18 23:46:15 +00:00
Erik Walthinsen
fb871eec23 Updates to cothreads code, including non-working alpha. Changed things a bit, including PPC. Not having a PPC machi...
Original commit message from CVS:
Updates to cothreads code, including non-working alpha.  Changed things a
bit, including PPC.  Not having a PPC machine, I need someone to test
these changes and report back whether they worked or not.
2001-01-18 08:54:25 +00:00
Richard Boulton
a4e3d04aeb Adding nasty hack to rules to generate cothreads.{o,lo}, to get dependencies right. Rules copied from automake, and ...
Original commit message from CVS:
Adding nasty hack to rules to generate cothreads.{o,lo}, to get dependencies
right.  Rules copied from automake, and therefore a bit dependent on automake
keeping doing dependency things the same kind of way, but it should work as
long as automake puts dependencies into .deps/*.P
2001-01-14 22:24:28 +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
Erik Walthinsen
ee2d89cb57 turned -launch capabilities into gst_parse_launch()
Original commit message from CVS:
turned -launch capabilities into gst_parse_launch()
2001-01-07 04:00:30 +00:00
Erik Walthinsen
cd744791c5 More build fixes
Original commit message from CVS:
More build fixes
2001-01-01 21:21:25 +00:00
Erik Walthinsen
e70fb19402 fixed a nasty bug where at -O6 teh compiler optimized cothreads.c beyond the point of functioning
Original commit message from CVS:
fixed a nasty bug where at -O6 teh compiler optimized cothreads.c beyond the point of functioning
2001-01-01 06:57:46 +00:00
Wim Taymans
f3f09b43da Added command line parsing for
Original commit message from CVS:
Added command line parsing for
--gst-info-mask, --gst-debug-mask and --help
Dump the FLAGS and options on --help
2001-01-01 03:43:27 +00:00
Wim Taymans
527525a282 Fix some compile warnings
Original commit message from CVS:
Fix some compile warnings
2000-12-31 23:31:51 +00:00