Commit graph

1191 commits

Author SHA1 Message Date
Steve Baker
6c751c7cd4 remove debug
Original commit message from CVS:
remove debug
2002-12-01 01:42:48 +00:00
Steve Baker
5b920bb458 this debugging would have borked
Original commit message from CVS:
this debugging would have borked
2002-12-01 01:39:35 +00:00
Steve Baker
7fec8602c3 first phase of spider cleanup
Original commit message from CVS:
first phase of spider cleanup
- get rid of the buffer cache for type finding
- do type finding within spider identity instead of in seperate element
- currently doing type finding with the first buffer only. will eventually merge buffer until there is "enough" data to typefind with
- spider now only has 1 sink instead of many. I don't believe it would be possible to mux with spider anyway
- if type finding fails, gst_element_error is called. Its up to the app to catch the error signal and stop the pipeline
2002-12-01 01:37:58 +00:00
Wim Taymans
ff1a2e8f7b Make forte heppy
Original commit message from CVS:
Make forte heppy
2002-11-29 19:19:32 +00:00
Wim Taymans
fa3381146a More forte compiler fixes, added a .h file to store commonly used macros that have to ifdefed out on non-gcc compilers
Original commit message from CVS:
More forte compiler fixes, added a .h file to store commonly used macros
that have to ifdefed out on non-gcc compilers
2002-11-29 19:08:47 +00:00
Wim Taymans
95d4c6fdf1 Add a little cast to make forte happy
Original commit message from CVS:
Add a little cast to make forte happy
2002-11-29 18:34:32 +00:00
Wim Taymans
91df0963a7 Index caches dir too, add caches to Makefile.am
Original commit message from CVS:
Index caches dir too, add caches to Makefile.am
2002-11-29 18:16:58 +00:00
Wim Taymans
a02dcd9779 Added memory cache
Original commit message from CVS:
Added memory cache
2002-11-29 18:16:06 +00:00
Wim Taymans
9178bdcfd1 - Save longdesc
Original commit message from CVS:
- Save longdesc
- Save caches
2002-11-29 18:15:01 +00:00
Wim Taymans
bf0c285d5f Make caches plugable
Original commit message from CVS:
Make caches plugable
2002-11-29 18:13:54 +00:00
Wim Taymans
9c90317f9f Make the cache plugable
Original commit message from CVS:
Make the cache plugable
2002-11-29 18:13:29 +00:00
Wim Taymans
d8712f073b Used glib macros for no_intrument
Original commit message from CVS:
Used glib macros for no_intrument
2002-11-29 18:10:21 +00:00
Thomas Vander Stichele
009e8bb2b4 applied fixed patch from Brian
Original commit message from CVS:
applied fixed patch from Brian
2002-11-29 17:05:13 +00:00
Thomas Vander Stichele
7cd8540542 revert fix because GST_DEBUG_LEAVE("") doesn't work with it
Original commit message from CVS:
revert fix because GST_DEBUG_LEAVE("") doesn't work with it
2002-11-29 14:20:53 +00:00
Thomas Vander Stichele
35387bca47 random cleanups and paranoia checks
Original commit message from CVS:
random cleanups and paranoia checks
2002-11-29 13:59:30 +00:00
Christian Schaller
54cbcd0c18 commit Brian's patch with AC fix from thomas
Original commit message from CVS:
commit Brian's patch with AC fix from thomas
2002-11-29 11:10:35 +00:00
Wim Taymans
431fba3939 Fix stupid bug
Original commit message from CVS:
Fix stupid bug
2002-11-28 21:30:13 +00:00
Thomas Vander Stichele
18f9761afc cleanups
Original commit message from CVS:
cleanups
2002-11-28 21:24:01 +00:00
Christian Schaller
63a4cb67c2 commit the fdsrc fix from Pedro Corte-Real
Original commit message from CVS:
commit the fdsrc fix from Pedro Corte-Real
2002-11-28 14:13:51 +00:00
Christian Schaller
2d9c2e484b commiting Leifs registry to /var/cache patch, works well for me :)
Original commit message from CVS:
commiting Leifs registry to /var/cache patch, works well for me :)
2002-11-28 13:29:52 +00:00
Christian Schaller
e6d279fc4d added vishnu's doc patch
Original commit message from CVS:
added vishnu's doc patch
2002-11-28 00:10:38 +00:00
Wim Taymans
c925bc7de0 Small cleanups
Original commit message from CVS:
Small cleanups
2002-11-27 23:14:33 +00:00
Wim Taymans
cc7cebbead Fix stupid compiler warning
Original commit message from CVS:
Fix stupid compiler warning
2002-11-27 22:37:57 +00:00
Wim Taymans
9fa136e479 Removed old timecache
Original commit message from CVS:
Removed old timecache
2002-11-27 21:10:20 +00:00
Thomas Vander Stichele
58855aa95b gst_init modeled upon gtk_init code cleanups
Original commit message from CVS:
gst_init modeled upon gtk_init
code cleanups
2002-11-27 21:08:06 +00:00
Wim Taymans
a48bce0ad6 - Added first attempt at general caching mechanism (GstTimeCache renamed to GstCache)
Original commit message from CVS:
- Added first attempt at general caching mechanism (GstTimeCache renamed
to GstCache)
- Some more clocking checks and updates (waiting on GST_CLOCK_TIME_NONE
returns immediatly instead of blocking forever)
- Moved clock get/set functions to element class instead of instance.
- Added cache methods on elements.
- Renamed GST_PROPS_BOOL_TYPE to GST_PROPS_BOOLEAN_TYPE to make it more
consistent with gst_props_get/set_boolean and GST_PROPS_BOOLEAN.
- Give short stats about plugins in gst-inspect.
2002-11-27 20:47:39 +00:00
Wim Taymans
86376a2402 Make different names for the different cothreads implementations
Original commit message from CVS:
Make different names for the different cothreads implementations
2002-11-25 00:20:52 +00:00
Wim Taymans
ce5f3238d2 Make sure to unset the scheduler
Original commit message from CVS:
Make sure to unset the scheduler
2002-11-22 23:17:39 +00:00
Wim Taymans
b7ee3bebf5 Added g_return_if_fail
Original commit message from CVS:
Added g_return_if_fail
2002-11-22 23:15:14 +00:00
Wim Taymans
a003b87f10 Only setup the scheduler when going to READY so that one can create a pipeline in another thread than that where it w...
Original commit message from CVS:
Only setup the scheduler when going to READY so that one can create a
pipeline in another thread than that where it will eventually iterate in.
2002-11-22 22:10:06 +00:00
Wim Taymans
12490346d0 Small cleanups, more descriptive properties
Original commit message from CVS:
Small cleanups, more descriptive properties
2002-11-21 23:52:30 +00:00
David Schleef
774edda66b Add assertion to make sure that we're in the thread containing the cothread we're trying to switch to.
Original commit message from CVS:
Add assertion to make sure that we're in the thread containing the
cothread we're trying to switch to.
2002-11-21 00:54:32 +00:00
Wim Taymans
e09a7f841a Better error recovery when the mmap fails.
Original commit message from CVS:
Better error recovery when the mmap fails.
2002-11-20 21:31:05 +00:00
Wim Taymans
20e44c6f57 Use full object path string in default error/notify handlers.
Original commit message from CVS:
Use full object path string in default error/notify handlers.
2002-11-20 21:13:07 +00:00
Wim Taymans
3fc8ad0842 - an element also has a failed state change if the scheduler setup failed.
Original commit message from CVS:
- an element also has a failed state change if the scheduler setup failed.
- set a thread to _STATE_NULL before destroying it.
2002-11-19 23:15:23 +00:00
David Schleef
eaba0a07e8 Added gst_buffer[_pool]_needs_copy_on_write()
Original commit message from CVS:
Added gst_buffer[_pool]_needs_copy_on_write()
2002-11-19 02:30:45 +00:00
David Schleef
f42d7e6ac8 Added gst_data_needs_copy_on_write()
Original commit message from CVS:
Added gst_data_needs_copy_on_write()
2002-11-19 02:29:18 +00:00
David Schleef
edd2819c89 Added atomic code for PowerPC
Original commit message from CVS:
Added atomic code for PowerPC
2002-11-19 02:28:09 +00:00
David Schleef
2b647a953c Cleaned up cothread_create(), added comments, added code to unmap a guard page.
Original commit message from CVS:
Cleaned up cothread_create(), added comments, added code to unmap a
guard page.
2002-11-19 02:25:52 +00:00
Thomas Vander Stichele
8fbc440cc3 a little cleanup also, clear the global we use here so we can reuse cothreads
Original commit message from CVS:
a little cleanup
also, clear the global we use here so we can reuse cothreads
2002-11-18 22:44:47 +00:00
David Schleef
179a63446c Move stack_top code from cothread_create() to cothread_context_init(), since we only need to calculate it once.
Original commit message from CVS:
Move stack_top code from cothread_create() to cothread_context_init(),
since we only need to calculate it once.
2002-11-15 09:51:41 +00:00
Thomas Vander Stichele
eb5368cbf7 on the negative side, I have to add the mmap back or else it segfaults on the positive side, with ds's fix for stack_...
Original commit message from CVS:
on the negative side, I have to add the mmap back or else it segfaults
on the positive side, with ds's fix for stack_top, I haven't had a
segfault in any of the thread tests since ;)
Let's cross fingers here
2002-11-14 13:35:13 +00:00
David Schleef
5fa7e059eb Fix up allocation of stack space for a cothread. Previous code did not allow for the underlying threading model to i...
Original commit message from CVS:
Fix up allocation of stack space for a cothread.  Previous code did
not allow for the underlying threading model to insert an unmapped
guard page.
2002-11-14 11:14:52 +00:00
Thomas Vander Stichele
ede132c69c add some debug info
Original commit message from CVS:
add some debug info
2002-11-10 14:28:25 +00:00
Thomas Vander Stichele
2db9dfdb45 adding formats
Original commit message from CVS:
adding formats
2002-11-09 18:16:27 +00:00
Wim Taymans
9955ea95b9 Remove groups from chains and elements from groups when they are destroyed.
Original commit message from CVS:
Remove groups from chains and elements from groups when they are destroyed.
2002-11-07 18:50:06 +00:00
Wim Taymans
535d8911aa Do some more checking on the input paramaters
Original commit message from CVS:
Do some more checking on the input paramaters
2002-11-03 15:48:31 +00:00
Wim Taymans
936c0aff15 Remove bogus free
Original commit message from CVS:
Remove bogus free
2002-11-03 00:13:40 +00:00
Thomas Vander Stichele
7e6550818f small fix
Original commit message from CVS:
small fix
2002-11-02 14:06:43 +00:00
Wim Taymans
91b824a34c - Reworked the clock to prepare for async notifications
Original commit message from CVS:
- Reworked the clock to prepare for async notifications
- moved some common scheduler checking to gstbin
- added some vmethods to gstbin for future use
- more fixes to the optimal scheduler
- use new clock api in the schedulers
2002-11-02 13:54:34 +00:00