Commit graph

1911 commits

Author SHA1 Message Date
Thomas Vander Stichele
7621ac94ee when is this getting fixed
Original commit message from CVS:
when is this getting fixed
2001-12-27 10:28:49 +00:00
Wim Taymans
e7f54b1e74 - Added a function to get the currently executing cothread
Original commit message from CVS:
- Added a function to get the currently executing cothread
- Removed some useless includes
- _interrupt now returns a boolean so the behaviour after the interrupt
can be controlled by the scheduler.
- Added a better way to set/get the default scheduler.
- make thread and pipeline get the default scheduler.
2001-12-27 00:47:41 +00:00
Wim Taymans
2198726630 Added a property to make identity fail after N buffers
Original commit message from CVS:
Added a property to make identity fail after N buffers
2001-12-27 00:40:50 +00:00
Andy Wingo
65423bdc5a same changes as in gst-plugins module also, PKG_CHECK_MODULES does the pkg-config checking for us
Original commit message from CVS:
same changes as in gst-plugins module
also, PKG_CHECK_MODULES does the pkg-config checking for us
2001-12-26 23:18:56 +00:00
Andy Wingo
9ee758f076 output human-readable xml
Original commit message from CVS:
output human-readable xml
2001-12-26 06:58:25 +00:00
Andy Wingo
20485ce50e save the plugin paths in the registry load them back don't look in PLUGIN_DIR ($prefix/lib/gst usually) when PLUGIN_B...
Original commit message from CVS:
* save the plugin paths in the registry
* load them back
* don't look in PLUGIN_DIR ($prefix/lib/gst usually) when PLUGIN_BUILD_DIR
2001-12-25 23:32:01 +00:00
Andy Wingo
799f1a9ed9 format the outputted reg.xml for libxml2. if anything causes your xml probs in the future, this is probably it...
Original commit message from CVS:
format the outputted reg.xml for libxml2. if anything causes your xml probs in the
future, this is probably it...
2001-12-25 22:57:31 +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
bd128c199c Tee Fixes. added cothread_stop (not used) improved the pad event dispatcher.
Original commit message from CVS:
Tee Fixes.
added cothread_stop (not used)
improved the pad event dispatcher.
added an event_received signal on the pad.
do less state changes in the autoplugger.
small scheduler fix.
2001-12-25 02:15:46 +00:00
Ronald S. Bultje
4b5fc45173 missing include
Original commit message from CVS:
missing include
2001-12-24 22:57:32 +00:00
Andy Wingo
17918e3c1f finalize removal of httpsrc
Original commit message from CVS:
finalize removal of httpsrc
2001-12-24 22:11:04 +00:00
Andy Wingo
aa9bc272af removed httpsrc from core
Original commit message from CVS:
removed httpsrc from core
2001-12-24 21:33:03 +00:00
Andy Wingo
107feed0de removed lib directories (they are in libs/gst now)
Original commit message from CVS:
removed lib directories (they are in libs/gst now)
2001-12-24 20:52:36 +00:00
Wim Taymans
7ec6702121 Better, cleaner state management of the scheduler by adding scheduler state flags.
Original commit message from CVS:
Better, cleaner state management of the scheduler by adding scheduler state
flags.
typefind has to interrupt instead of yield.
Fix a leak in the queue when it's dropping buffers.
2001-12-24 15:14:03 +00:00
Wim Taymans
109f7a0d64 Added some more stats about iteration times
Original commit message from CVS:
Added some more stats about iteration times
2001-12-24 12:30:09 +00:00
Thomas Vander Stichele
2e74cc9cc9 additions
Original commit message from CVS:
additions
2001-12-24 09:59:34 +00:00
Wim Taymans
fe82970085 Hide the fact that caps nego doesn't work over a queue.
Original commit message from CVS:
Hide the fact that caps nego doesn't work over a queue.

Can someone fix xvideosink so that it compiles with Xv support again?
2001-12-24 01:04:08 +00:00
Wim Taymans
c05a4511cd Removed the munmap for now
Original commit message from CVS:
Removed the munmap for now
2001-12-23 23:36:44 +00:00
Thomas Vander Stichele
74ad376d0a small fix
Original commit message from CVS:
small fix
2001-12-23 22:33:18 +00:00
Thomas Vander Stichele
7f14b49641 removing all plugin checks
Original commit message from CVS:
removing all plugin checks
2001-12-23 21:06:48 +00:00
Thomas Vander Stichele
3c95e4f3a2 plugins should be gotten from the separate gst-plugins module from now on we're fixing bugs there all over the place
Original commit message from CVS:
plugins should be gotten from the separate gst-plugins module from now on
we're fixing bugs there all over the place
2001-12-23 20:59:46 +00:00
Thomas Vander Stichele
9fe4587856 more changes
Original commit message from CVS:
more changes
2001-12-23 18:12:12 +00:00
Thomas Vander Stichele
7b61bb6f74 moving around
Original commit message from CVS:
moving around
2001-12-23 17:27:58 +00:00
Wim Taymans
93b782b643 Added a drawing of a possible player architecture added plugin guidelines
Original commit message from CVS:
Added a drawing of a possible player architecture
added plugin guidelines
2001-12-23 17:18:27 +00:00
Thomas Vander Stichele
02c10c5005 changing stuff
Original commit message from CVS:
changing stuff
2001-12-23 17:14:13 +00:00
Thomas Vander Stichele
be277c79e0 moving libs around
Original commit message from CVS:
moving libs around
2001-12-23 17:12:25 +00:00
Andy Wingo
b9f6bb9c0e no plugins builds by default
Original commit message from CVS:
no plugins builds by default
2001-12-23 16:51:07 +00:00
Wim Taymans
6c538d527b Fix an event leak
Original commit message from CVS:
Fix an event leak
Ne need to save signals on longjmp
2001-12-23 14:50:44 +00:00
Wim Taymans
bdd6df925e Better cothread cleanup
Original commit message from CVS:
Better cothread cleanup
2001-12-23 14:27:48 +00:00
Andy Wingo
6bb3f78a0c added --disable-plugins option; useful if you are making the switch to gst-plugins
Original commit message from CVS:
added --disable-plugins option; useful if you are making the switch to
gst-plugins
2001-12-23 05:59:38 +00:00
Andy Wingo
7aa5885df5 pkg-config related fixes note that a relative path in your PKG_CONFIG_PATH will show up as ${pcfiledir}, unfortunately
Original commit message from CVS:
pkg-config related fixes
note that a relative path in your PKG_CONFIG_PATH will show up as ${pcfiledir},
unfortunately
2001-12-23 03:24:17 +00:00
Thomas Vander Stichele
af1edc5413 added new libs stuff
Original commit message from CVS:
added new libs stuff
2001-12-23 00:11:14 +00:00
Thomas Vander Stichele
2b20b7178f moving bytestream in the same way as in gst-plugins since ac3parse needs it
Original commit message from CVS:
moving bytestream in the same way as in gst-plugins since ac3parse needs it
2001-12-23 00:07:59 +00:00
Wim Taymans
467035ce70 Never destroy the current cothread.
Original commit message from CVS:
Never destroy the current cothread.
Don't try to signal the scheduler if we don't have one
2001-12-22 23:19:17 +00:00
Wim Taymans
6cdaf3fa84 Including pad.h should be enough.
Original commit message from CVS:
Including pad.h should be enough.
2001-12-22 21:57: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
b02211c06d Added buffer stats at the end, if it's not 0, we have a leak.
Original commit message from CVS:
Added buffer stats at the end, if it's not 0, we have a leak.
2001-12-22 21:26:56 +00:00
Wim Taymans
087dee1f62 This is an attempt at not segfaulting on errors but reporting some usefull info instead.
Original commit message from CVS:
This is an attempt at not segfaulting on errors but reporting some
usefull info instead.
- bin changes so errors can propagate.
- changed the _FAST macros to _CAST because that is what they do.
- removed all references to cothreads out of the core, they are
really a scheduler issue, handler with a sched_private gpointer.
- added a live buffer count, for debugging buffer leaks.
- added error checking in gst_scheduler_state_transition this solves the
"out of cothreads" problem.
- GST_ELEMENT_NO_ENTRY == GST_ELEMENT_INFINITE_LOOP
- added 2 private element flasg for use by the scheduler
(_COTHREAD_STOPPING) is now
- added scheduler entry points:
- _yield : to create possible scheduling points.
- _interrupt: to stop execution of an element.
- _error: to signal en error condition to the scheduler.
- improved error messages for pads.
- signal gst_element_error where appropriate.
- added the a new bin to the parent before entering it so one can reference
its children.
- queue memleak fixes on dispose.
- added possible deadlock detection in queue (turned off be default)
- GstBasicScheduler is a real class of its own now, hiding its internal
variables.
- GST_ELEMENT_IS_COTHREAD_STOPPING is gone. either call explicit _yield
operations, or make a sane loop.
- Better state change handling in filesrc. Better error reporting/recovery
too.
- updated core plugins.
- detect non decoupled elements on scheduler boundries and error.
2001-12-22 21:18:17 +00:00
Andy Wingo
11456df888 debian/Makfile.in was not getting produced, so i commented it out of AC_OUTPUT.
Original commit message from CVS:
debian/Makfile.in was not getting produced, so i commented it out of AC_OUTPUT.
2001-12-22 02:21:39 +00:00
Andy Wingo
4574d80f95 changed -d configure option to --autogen-debug added --autogen-noconfigure option that skips the configure stage adde...
Original commit message from CVS:
* changed -d configure option to --autogen-debug
* added --autogen-noconfigure option that skips the configure stage
* added --autogen-nocheck to skip version checks
* cleared a little bit of kruft
2001-12-22 01:58:59 +00:00
David I. Lehn
129894dff8 Remove Debian control files from distribution: they become immediately out of date when the lazy maintainer doesn't h...
Original commit message from CVS:
Remove Debian control files from distribution:
* they become immediately out of date when the lazy maintainer doesn't
have them ready when rest of code is released
* they are an annoyance when renaming or deleting files
2001-12-21 20:26:57 +00:00
Thomas Vander Stichele
be48dec0a8 output cosmetic fix
Original commit message from CVS:
output cosmetic fix
2001-12-21 13:52:18 +00:00
Andy Wingo
981cf4d212 this patch fixes arts and artsd compilation problems. this is necessary for make dist to work. i know plugins are bei...
Original commit message from CVS:
this patch fixes arts and artsd compilation problems. this is necessary for make
dist to work. i know plugins are being moved, though, this needs to be ported to
the -plugins module.

* experimental and broken selection now use GST_CHECK_FEATURE, for what it's worth
* crucial fixes to arts m4's that need backporting to autostars and -plugins
* make gst-feature less frantic in reporting missing plugins
* cleanups and misc arts fixes
2001-12-20 20:41:28 +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
Wim Taymans
f5affde61c - Reclaim cothread state even if the cothread was never activated after the free.
Original commit message from CVS:
- Reclaim cothread state even if the cothread was never activated after
the free.
- fix the bin state change when there are no more children.
- use a real method to signal the parent bin of a state change.
- move the state change policy in the scheduler.
- remove the unused and ridiculous state change event
- don't free the cothread state when the element is disabled. only free it
when the element is removed from the scheduler.
2001-12-20 20:03:10 +00:00
Wim Taymans
a8b1346857 cothread cleanup.
Original commit message from CVS:
cothread cleanup.
- removed some old code.
- ran the thing through indent
- rename cothread_init/free to cothread_context_init/free
- implement cothread_free/destroy to clear the cothread_state slot
- make cothread_init reuse empty slots.
minor cleanups in error reporting (gstpad, gstelement)
code cleanup in gstthread
make unexpected state changes in gstthread less fatal
free the cothread_state in the scheduler.

This one passes all the current cvs testcases including dynamic-pipeline.
2001-12-20 02:41:34 +00:00
Andy Wingo
5212116302 gstreamer.m4 extra_dist removal
Original commit message from CVS:
gstreamer.m4 extra_dist removal
2001-12-20 01:27:13 +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
Andy Wingo
51bb2b1c4c fix to get guilaunch to build properly with gnome2
Original commit message from CVS:
fix to get guilaunch to build properly with gnome2
2001-12-19 22:16:01 +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