Commit graph

985 commits

Author SHA1 Message Date
Christian Schaller
7cc370b0bf Fixes suggested by thomasvs to get rhythmbox working with basic threads
Original commit message from CVS:
Fixes suggested by thomasvs to get rhythmbox working with basic threads

- int res;
+ int res = 0;

-  res = munmap ((void *) thread, COTHREAD_STACKSIZE);
+/*    res = munmap ((void *) thread, COTHREAD_STACKSIZE); */
2002-06-27 21:35:56 +00:00
Thomas Vander Stichele
8433fe5775 some debug info remove the preventive munmap reinstate the other munmap for cothread stocks which really should be th...
Original commit message from CVS:
some debug info
remove the preventive munmap
reinstate the other munmap for cothread stocks which really should be there IMO
2002-06-27 15:52:13 +00:00
Thomas Vander Stichele
61bb83ec4d back to basics
Original commit message from CVS:
back to basics
2002-06-27 11:34:37 +00:00
Thomas Vander Stichele
b7bc06aee5 ok, this seems to be the right fix for the basic scheduler.
Original commit message from CVS:
ok, this seems to be the right fix for the basic scheduler.
I'd appreciate it if :
a) someone looks over these minimal changes and tells me if they're done
in the right way (especially the alignment argument ;))
b) others run lots of pipes with basic and tell me if they still have
issues
If all goes well I want to revert to the basic scheduler and do a release
2002-06-26 08:22:17 +00:00
Thomas Vander Stichele
f4046ced1c hahaha
Original commit message from CVS:
hahaha
2002-06-25 12:09:32 +00:00
Thomas Vander Stichele
1ecc22c610 blind flying adding more debug output cleaning up according to man pages
Original commit message from CVS:
blind flying
adding more debug output
cleaning up according to man pages
2002-06-25 12:08:10 +00:00
Wim Taymans
bcb921d550 This makes more sense and solves the locking problem when a loop based element is selected as the entry point.
Original commit message from CVS:
This makes more sense and solves the locking problem when a loop based
element is selected as the entry point.
2002-06-23 12:50:12 +00:00
Wim Taymans
839c62927c Use new method to check for availability of threads
Original commit message from CVS:
Use new method to check for availability of threads
2002-06-23 12:43:45 +00:00
Wim Taymans
9cfd185748 Small cleanups
Original commit message from CVS:
Small cleanups
2002-06-23 12:42:52 +00:00
Wim Taymans
14186b75ea Or not..
Original commit message from CVS:
Or not..
2002-06-23 12:42:01 +00:00
Wim Taymans
b70675d241 Unlock an element even if it was a loop based one
Original commit message from CVS:
Unlock an element even if it was a loop based one
2002-06-23 12:21:50 +00:00
Andy Wingo
16074b7263 implement _destroy, and fix some bugs changing songs in the player doesn't work now, i don't know why yet
Original commit message from CVS:
implement _destroy, and fix some bugs

changing songs in the player doesn't work now, i don't know why yet
2002-06-23 04:31:45 +00:00
Thomas Vander Stichele
d3e33a16ac as promised, the header changes and some of wingo's virtual fixes as well by accident
Original commit message from CVS:
as promised, the header changes
and some of wingo's virtual fixes as well by accident
2002-06-22 23:17:44 +00:00
Wim Taymans
23dbddcd2c Don't seek past the end of the file
Original commit message from CVS:
Don't seek past the end of the file
Fix a bug where the mapend was incorrectly calculated when we read past
the end of the file.
2002-06-22 09:23:40 +00:00
Wim Taymans
69b7a292d6 Added a runtime option to use a dummy threading implementation that uses
Original commit message from CVS:
Added a runtime option to use a dummy threading implementation that uses
NOPs for all synchronisation and threading operations.
2002-06-21 14:50:00 +00:00
Andy Wingo
694b7ee912 cleanups
Original commit message from CVS:
cleanups
2002-06-21 14:35:45 +00:00
Wim Taymans
1fa83fa256 Pass some required params to cothreads_init
Original commit message from CVS:
Pass some required params to cothreads_init
2002-06-21 08:00:13 +00:00
Wim Taymans
3dd3895eea Added _get_prefered_stack to the scheduler
Original commit message from CVS:
Added _get_prefered_stack to the scheduler
2002-06-19 18:13:28 +00:00
Thomas Vander Stichele
87b2474153 is make distcheck that much to ask ?
Original commit message from CVS:
is make distcheck that much to ask ?
2002-06-18 09:00:23 +00:00
Wim Taymans
29cafb7481 Allocate a few more bytes as gmarkup reads past the end of the allocated buffer
Original commit message from CVS:
Allocate a few more bytes as gmarkup reads past the end of the
allocated buffer
2002-06-17 19:23:05 +00:00
Wim Taymans
f8ca62be6e Only revert the state of the failed element
Original commit message from CVS:
Only revert the state of the failed element
2002-06-17 16:00:10 +00:00
David I. Lehn
bb83c424e4 auto build some enum code.
Original commit message from CVS:
auto build some enum code.
useful for things like autogenerated python bindings.
2002-06-16 23:23:28 +00:00
Wim Taymans
b1125b04ba Added more debugging info
Original commit message from CVS:
Added more debugging info
2002-06-16 22:36:10 +00:00
Wim Taymans
7eb08447b9 Some small cleanups implement a default _clock_wait
Original commit message from CVS:
Some small cleanups
implement a default _clock_wait
2002-06-16 21:50:50 +00:00
Thomas Vander Stichele
8e0687e93d print the name
Original commit message from CVS:
print the name
2002-06-16 21:20:07 +00:00
Wim Taymans
02adc6b669 Better add the check instead of crashing
Original commit message from CVS:
Better add the check instead of crashing
2002-06-16 19:48:38 +00:00
Wim Taymans
bfca3a0739 Fixed the fast scheduler by proxying event to the event handler when the element is not event aware.
Original commit message from CVS:
Fixed the fast scheduler by proxying event to the event handler when the
element is not event aware.
2002-06-16 19:33:15 +00:00
Wim Taymans
36313bb0c7 Added --gst-version that does nothing else than to print out the core version number the app is using.
Original commit message from CVS:
Added --gst-version that does nothing else than to print out the core
version number the app is using.
2002-06-16 19:08:21 +00:00
Wim Taymans
4d85bfc2df Use setfunc to set the cothread function instead of _reset
Original commit message from CVS:
Use setfunc to set the cothread function instead of _reset
2002-06-16 17:34:14 +00:00
Thomas Vander Stichele
ac889ced82 changing default scheduler to wingo's spiffy standard one, since it doesn't look up for as many users as basic ;)
Original commit message from CVS:
changing default scheduler to wingo's spiffy standard one, since it
doesn't look up for as many users as basic ;)
2002-06-16 10:33:55 +00:00
Wim Taymans
32f702aa20 Better error handling when mmap'ing
Original commit message from CVS:
Better error handling when mmap'ing
2002-06-15 16:12:20 +00:00
Wim Taymans
9286f126e2 Added a size event to optimize buffer sizes make filesrc update its blocksize when it receives a size event
Original commit message from CVS:
Added a size event to optimize buffer sizes
make filesrc update its blocksize when it receives a size event
2002-06-13 22:27:40 +00:00
Thomas Vander Stichele
319a6a3672 strange this didn't get commited on a regular commit
Original commit message from CVS:
strange this didn't get commited on a regular commit
2002-06-13 15:08:52 +00:00
Wim Taymans
c8e8981be8 Documentation updates
Original commit message from CVS:
Documentation updates
Make spider forward bufferpools
Remove some old registry code
2002-06-12 22:26:36 +00:00
Wim Taymans
19055c8091 Removed deprecated disksink
Original commit message from CVS:
Removed deprecated disksink
2002-06-11 21:06:53 +00:00
Thomas Vander Stichele
4cd77fab14 xavpatch
Original commit message from CVS:
xavpatch
2002-06-11 21:03:48 +00:00
Steve Baker
a415cdd34e remove the "iterate_started" signal and replace it with pre_iterate and post_iterate callbacks.
Original commit message from CVS:
remove the "iterate_started" signal and replace it with pre_iterate and post_iterate callbacks.

Apps can now put a lock around an iterate so they can do stuff on the bin from another thread. much nicer than the signal approach.
2002-06-10 16:48:47 +00:00
Wim Taymans
280affd3df Remove old flag
Original commit message from CVS:
Remove old flag
2002-06-09 21:14:48 +00:00
Wim Taymans
da176ab8ca Added the flush flag
Original commit message from CVS:
Added the flush flag
2002-06-09 12:13:56 +00:00
Wim Taymans
3ab6d4c0e2 Whan the buffer is filled, the buffer is kept and added to the queue when there is room again. Don't do this after a ...
Original commit message from CVS:
Whan the buffer is filled, the buffer is kept and added to the queue
when there is room again. Don't do this after a flush.
2002-06-09 12:13:30 +00:00
Wim Taymans
a358f61b5f Loop the clock providers until we find one with a clock.
Original commit message from CVS:
Loop the clock providers until we find one with a clock.
2002-06-08 23:45:53 +00:00
Wim Taymans
ce100a8211 Revert queue event forwarding, added comments what it is supposed to do.
Original commit message from CVS:
Revert queue event forwarding, added comments what it is supposed to do.
2002-06-08 16:30:43 +00:00
Steve Baker
89f8aec72e g_print bad
Original commit message from CVS:
g_print bad
2002-06-08 16:15:02 +00:00
Steve Baker
e9e6b0797d put upstream events in an async queue and resend them at the start of the chain. not working as expected yet but a start
Original commit message from CVS:
put upstream events in an async queue and resend them at the start of the chain. not working as expected yet but a start
2002-06-08 16:13:18 +00:00
Wim Taymans
f50d53e209 A discont event is the right way to handle seeking on filesink IMO
Original commit message from CVS:
A discont event is the right way to handle seeking on filesink IMO
2002-06-08 15:00:30 +00:00
Wim Taymans
9e238148e1 Added element query
Original commit message from CVS:
Added element query
2002-06-08 14:59:34 +00:00
Wim Taymans
225d11913c Return the result of the forwarded seek instead of TRUE
Original commit message from CVS:
Return the result of the forwarded seek instead of TRUE
2002-06-08 14:58:03 +00:00
Wim Taymans
3824189da5 Add an event function so that seek events are not forwarded when we have a cache, seeking in the cache still needs to...
Original commit message from CVS:
Add an event function so that seek events are not forwarded when we
have a cache, seeking in the cache still needs to be implemented though..
2002-06-08 12:51:11 +00:00
Steve Baker
174324865f INT64 is good for passing timestamps in signals
Original commit message from CVS:
INT64 is good for passing timestamps in signals
2002-06-08 11:57:49 +00:00
Steve Baker
7ae62fa9bf a couple of fixes here:
Original commit message from CVS:
a couple of fixes here:
- forward eos events to all src pads, even if spider didn't connect them. this ensures that the pipeline will stay in a consistant state even when not all pads are sent data
- don't check for nonnull spider until it is actually needed.  it really is null when it has been disposed and this method is called.
2002-06-07 19:41:35 +00:00