Commit graph

528 commits

Author SHA1 Message Date
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
Erik Walthinsen
3dd77c5107 more complete(?) XML description of example
Original commit message from CVS:
more complete(?) XML description of example
2001-01-21 01:20:06 +00:00
Erik Walthinsen
a1d52b2aa6 initial thoughts on framework
Original commit message from CVS:
initial thoughts on framework
2001-01-21 01:03:13 +00:00
Sepp Wijnands
8c54486378 the 'OSS hangs when opening the device when in use' bug.
Original commit message from CVS:
Applied the patch from Sepp Wijnands <mrrazz@garbage-coderz.net> that solves
the 'OSS hangs when opening the device when in use' bug.
2001-01-21 00:57:50 +00:00
Erik Walthinsen
c824d8eaf9 current set of design docs, in .txt format
Original commit message from CVS:
current set of design docs, in .txt format
2001-01-20 20:08:59 +00:00
Erik Walthinsen
cfb7276682 added first hack at testing suite design
Original commit message from CVS:
added first hack at testing suite design
2001-01-20 19:20:13 +00:00
Wim Taymans
5c27fa2ac4 Check for NULL buffers before chaining/pushing them to the next element.
Original commit message from CVS:
Check for NULL buffers before chaining/pushing them to the next element.
NULL buffers happen on EOS.
gst_bin_iterate now returns a gboolean indicating something usefull happened.
It the bin is EOS, it returns FALSE.
2001-01-20 18:20:17 +00:00
Wim Taymans
7ce56f5dab More EOS changes.
Original commit message from CVS:
More EOS changes.
When a bin2 is found inside a bin1, we add the bin2 to the EOS providers
of the bin1. When there is nothing more to schedule in bin1 and bin2 has
fired EOS, bin1 is in EOS.
The queue overrides the EOS notification and calls EOS on the src pad
when the queue is empty and the sink pad is in EOS.
2001-01-20 17:59:25 +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
Erik Walthinsen
92b4650081 updated test programs to new ghostpad API
Original commit message from CVS:
updated test programs to new ghostpad API
2001-01-20 03:33:55 +00:00
Wim Taymans
0a9cc5f2fe Make sure the loopfunction ends when an element goes to EOS.
Original commit message from CVS:
Make sure the loopfunction ends when an element goes to EOS.
Fixed the fakesrc bug found by taaz.
2001-01-20 03:28:37 +00:00
Wim Taymans
fdaa2307da A very small change to make eos somewhat work. no inner bins are checked.
Original commit message from CVS:
A very small change to make eos somewhat work. no inner bins are checked.
When an element fires EOS, the chain with that element is removed from
the scheduler (marked inactive). If all chains are inactive, the bin
fires EOS.
2001-01-20 03:10:44 +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
Erik Walthinsen
4a5ed7bf58 Got ghostpads to work, even in -launch. Needs more testing still.
Original commit message from CVS:
Got ghostpads to work, even in -launch.  Needs more testing still.
2001-01-20 02:57:46 +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
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
Erik Walthinsen
284014fed1 ALPHA COTHREADS WORK! Worked around a nasty stack issue that probably can't be solved anyway. Tomorrow the UDB buil...
Original commit message from CVS:
ALPHA COTHREADS WORK!  Worked around a nasty stack issue that probably
can't be solved anyway.  Tomorrow the UDB build will commence, and let the
best guess win!
2001-01-19 07:48:43 +00:00
Erik Walthinsen
c31f9a570c First pass at updating to new ghostpad system. The objects are in place,
Original commit message from CVS:
First pass at updating to new ghostpad system.  The objects are in place,
I now need to go and get all the Bin end of things worked out.  Testing
should be fairly easy, at least for verification.

Everything I've tried so far works with no changes, with is amazing.
That's just cool.  Once again we rewrite an entire subsystem, and nothing
else notices anything but the new features ;-)
2001-01-19 02:23:35 +00:00
Richard Boulton
52713dac28 Fix some typos, and grammar errors.
Original commit message from CVS:
Fix some typos, and grammar errors.
2001-01-19 02:10:10 +00:00
Richard Boulton
b27f8d7c31 Wrote a little more text, and did more of the work on making the sections.
Original commit message from CVS:
Wrote a little more text, and did more of the work on making the sections.
When this manual has text in all these sections its going to be pretty
impressive...
2001-01-19 02:06:40 +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
Wim Taymans
1e9fa15f1f Updated -inspect to display the new pad presence REQUEST.
Original commit message from CVS:
Updated -inspect to display the new pad presence REQUEST.
2001-01-19 00:07:10 +00:00
Wim Taymans
e40880a90e And here they are....
Original commit message from CVS:
And here they are....
2001-01-19 00:02:53 +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
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
Richard Boulton
41ebd85275 Fixes to work with libxml2.
Original commit message from CVS:
Fixes to work with libxml2.
Also improved a couple of debugging messagse.
2001-01-18 11:16:53 +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
Wim Taymans
6b317bf748 Oops
Original commit message from CVS:
Oops
2001-01-17 07:43:13 +00:00
Richard Boulton
a4ccb12164 Fix permissions problems: the directory will now always be created mode 2755. In addition, the temporary file is giv...
Original commit message from CVS:
Fix permissions problems: the directory will now always be created mode
2755.  In addition, the temporary file is given restricted permissions, and
the permissions on the registry file are preserved if one already exists,
or 666 (and modified by the umask) if one doesn't already exist.
2001-01-17 01:59:57 +00:00
Wim Taymans
72b41ccad5 Added typefind example to configure.in
Original commit message from CVS:
Added typefind example to configure.in
2001-01-17 00:02:15 +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
7e30e55c3c Manual updates and additions
Original commit message from CVS:
Manual updates and additions
2001-01-16 23:35:22 +00:00
Wim Taymans
f5fb79c4ec Fixed the state change code in gstelement that broke with the conversion of the states to a bitfield.
Original commit message from CVS:
Fixed the state change code in gstelement that broke with the conversion
of the states to a bitfield.
2001-01-15 19:25:26 +00:00
Wim Taymans
78d88ab82e Updated docs with dynamic pads
Original commit message from CVS:
Updated docs with dynamic pads
Fixed quotes
2001-01-15 00:53:07 +00:00
Wim Taymans
a194bd4d7c Added gst_libs to Makefile
Original commit message from CVS:
Added gst_libs to Makefile
2001-01-14 22:28:45 +00:00
Richard Boulton
15f298e7cb Fix build problem when don't have db2html, or a directory to put the manual in: was trying to make a symlink in the n...
Original commit message from CVS:
Fix build problem when don't have db2html, or a directory to put the manual in:
was trying to make a symlink in the non-existant directory, and causing the
build to stop.
2001-01-14 22:25:43 +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
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
Erik Walthinsen
3c288c183a fixed an odd case with the launcher, didn't deal with argc properly
Original commit message from CVS:
fixed an odd case with the launcher, didn't deal with argc properly
2001-01-14 21:38:15 +00:00
Wim Taymans
a72f9832d1 Change MAP_ANONYMOUS to MAP_ANON in the mmap for BSD compatibility
Original commit message from CVS:
Change MAP_ANONYMOUS to MAP_ANON in the mmap for BSD compatibility
2001-01-14 14:57:56 +00:00
Wim Taymans
73ae4b1bce Added an extra signal_cond to queue to make sure that the waiting thread is woken up. Can somebody with queue problem...
Original commit message from CVS:
Added an extra signal_cond to queue to make sure that the waiting thread
is woken up. Can somebody with queue problems verifify that this does
improve the situation a bit. I'm suspecting that something else is going
on, like a pthreads bug or something.
Small updates to the fake elements.
2001-01-14 14:43:57 +00:00
Richard Boulton
11670c033d Added a couple of lines about debian packages.
Original commit message from CVS:
Added a couple of lines about debian packages.
2001-01-14 12:42:30 +00:00
Wim Taymans
488ed4f98a Updated quotes :-)
Original commit message from CVS:
Updated quotes :-)
2001-01-14 04:45:42 +00:00
Wim Taymans
69b40b46d2 Antoher way of dealing with EOS. This proposal does not use the recursion to propagate the EOS signal. This implies t...
Original commit message from CVS:
Antoher way of dealing with EOS. This proposal does not use the recursion
to propagate the EOS signal. This implies that an element cannot deny an
EOS signal anymore but since the signal is generated when a NULL buffer is
pushed, somebody did something wrong anyway.
2001-01-13 19:04:18 +00:00
Wim Taymans
f18c4056f7 Added an updated use case for EOS handling.
Original commit message from CVS:
Added an updated use case for EOS handling.
2001-01-13 15:47:43 +00:00