Wim Taymans
0d994e41ad
turn off cothreads, fix some typos
...
Original commit message from CVS:
turn off cothreads, fix some typos
2002-12-09 22:31:16 +00:00
Wim Taymans
f07281a771
Destroying the cothread seems like a good idea here
...
Original commit message from CVS:
Destroying the cothread seems like a good idea here
2002-12-09 20:33:27 +00:00
Thomas Vander Stichele
7eea6a04b7
fix for parallel installability
...
Original commit message from CVS:
fix for parallel installability
2002-12-08 14:39:38 +00:00
David Schleef
2fed56b4a8
Removing unused code related to stack allocation (cothreads_stackquery(), gst_scheduler_get_preferred_stack())
...
Original commit message from CVS:
Removing unused code related to stack allocation (cothreads_stackquery(),
gst_scheduler_get_preferred_stack())
2002-12-06 23:05:26 +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
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
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
Thomas Vander Stichele
929f37fab1
I ran into this and had to hunt for it
...
Original commit message from CVS:
I ran into this and had to hunt for it
2002-09-30 10:58:40 +00:00
David Schleef
4da8cc062b
Fix for compiler warnings on PowerPC. Compiler complains about longjmp() clobbering local variables, which appear to...
...
Original commit message from CVS:
Fix for compiler warnings on PowerPC. Compiler complains about longjmp()
clobbering local variables, which appear to be bogus.
2002-09-18 06:21:58 +00:00
Wim Taymans
e6e1dc2e0e
- some cleanups
...
Original commit message from CVS:
- some cleanups
- revert a patch that needs more thinking..
- move common code and sanity checks in gstscheduler.c instead of the
real schedulers.
- remove sanity checks from the schedulers
2002-09-13 23:02:54 +00:00
Wim Taymans
3443f74f10
Added optimal scheduler to build and call it optomega
...
Original commit message from CVS:
Added optimal scheduler to build and call it optomega
2002-09-12 21:00:57 +00:00
Wim Taymans
37a127d9ed
- Make the return GList of gst_element_get_pad_list as const
...
Original commit message from CVS:
- Make the return GList of gst_element_get_pad_list as const
- Pad scheduler refactoring
- Remove gst_pad_set/unset_scheduler as it's not needed
- Reimplement gst_pad_get_scheduler using the parent scheduler
- Remove gst_pad_peek as it cannot work reliably
- Remove the pad bufpen, replace with scheduler private gpointer
- Make queue use the new _get_scheduler implementation
- Remove _pad_unset_scheduler from GstScheduler
- Remove LOOP_SEEK mode from aggregator
- Other fixes for API changes.
2002-09-12 20:52:03 +00:00
Thomas Vander Stichele
17d01b5d21
scheduler renaming
...
Original commit message from CVS:
scheduler renaming
- wingo or omega for cothreads package
- basic or fast or optimal for algorithms
2002-09-12 19:23:41 +00:00
Wim Taymans
27301abdb3
More updates to the non-cothread scheduler
...
Original commit message from CVS:
More updates to the non-cothread scheduler
2002-09-12 19:22:03 +00:00
Thomas Vander Stichele
dd9d93d295
code cleanup
...
Original commit message from CVS:
code cleanup
2002-09-12 18:54:16 +00:00
Thomas Vander Stichele
01c9750b48
makes for nicer looking code
...
Original commit message from CVS:
makes for nicer looking code
2002-09-12 18:51:17 +00:00
Wim Taymans
09051e110b
Added comments
...
Original commit message from CVS:
Added comments
Added _show
Special cased wrapper functions to minimize checks at runtime
2002-09-08 22:42:29 +00:00
Wim Taymans
d5d1387153
A new scheduler that tries to minimize the number of cothreads, still needs a lot of work.
...
Original commit message from CVS:
A new scheduler that tries to minimize the number of cothreads,
still needs a lot of work.
2002-09-08 17:58:00 +00:00
Thomas Vander Stichele
de527dd234
nicer looking
...
Original commit message from CVS:
nicer looking
2002-08-28 10:11:26 +00:00
Thomas Vander Stichele
5921d35a67
more nonsrcdir build fixes
...
Original commit message from CVS:
more nonsrcdir build fixes
2002-08-13 22:30:46 +00:00
Wim Taymans
a33c875057
Don't try to pull on disabled pads in the scheduler
...
Original commit message from CVS:
Don't try to pull on disabled pads in the scheduler
2002-07-24 21:09:46 +00:00
Thomas Vander Stichele
45d414338b
Makefile.am portability fix better error handling, this solves the g_error_free assert error some people had
...
Original commit message from CVS:
Makefile.am portability fix
better error handling, this solves the g_error_free assert error some people
had
2002-07-12 14:14:30 +00:00
Wim Taymans
83f2253007
Set the scheduler to NULL in all cases.
...
Original commit message from CVS:
Set the scheduler to NULL in all cases.
2002-07-02 18:42:00 +00:00
Andy Wingo
2eb7f04289
free stack properly s/prefered/preferred/
...
Original commit message from CVS:
* free stack properly
* s/prefered/preferred/
2002-06-27 23:55:27 +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
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
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
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
Wim Taymans
b1125b04ba
Added more debugging info
...
Original commit message from CVS:
Added more debugging info
2002-06-16 22:36:10 +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
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
Wim Taymans
be30fb14fd
Set the right scheduler on the pads of decoupled elements.
...
Original commit message from CVS:
Set the right scheduler on the pads of decoupled elements.
2002-06-05 18:10:55 +00:00
Wim Taymans
a0979c2ddc
Some sanity checking emit a warning when interrupting a queue bacause we do it wrongly
...
Original commit message from CVS:
Some sanity checking
emit a warning when interrupting a queue bacause we do it wrongly
2002-06-04 23:00:36 +00:00
Wim Taymans
62cea79ba7
Some cleanups, refactor some code, make sure the decoupled peer element has the right handlers
...
Original commit message from CVS:
Some cleanups, refactor some code, make sure the decoupled peer element
has the right handlers
2002-06-04 21:03:35 +00:00
Wim Taymans
7e1a122599
Some sanity checking for when the element was removed from the pipeline.
...
Original commit message from CVS:
Some sanity checking for when the element was removed from the pipeline.
2002-06-02 17:44:20 +00:00
Andy Wingo
0694a337a1
Properly fix locking in the scheduler
...
Original commit message from CVS:
Properly fix locking in the scheduler
2002-06-02 16:20:09 +00:00
Wim Taymans
71e51b171c
This is needed after all..
...
Original commit message from CVS:
This is needed after all..
2002-06-02 11:21:35 +00:00
Steve Baker
52af47c5e4
fix from wingo so that get functions inside threads won't be locked twice
...
Original commit message from CVS:
fix from wingo so that get functions inside threads won't be locked twice
2002-05-29 15:33:46 +00:00
Wim Taymans
b07791a06b
Handle the case where the pad change mid-switch.
...
Original commit message from CVS:
Handle the case where the pad change mid-switch.
Handle the case where the entry poin is removed from the scheduler.
2002-05-29 15:09:36 +00:00
Andy Wingo
c887de8332
fixups in the prop view/controller compilation fixes in the player add gst-editor to gst-all fixes to adder to comply...
...
Original commit message from CVS:
* fixups in the prop view/controller
* compilation fixes in the player
* add gst-editor to gst-all
* fixes to adder to comply with new osssink sync issues
* alsa fixes, although still 100% cpu is used, yum
* reenable locking of threaded elements, seems to work fine here
* fix a makefile in examples/plugins
2002-05-27 04:48:57 +00:00
Wim Taymans
6f96a24d2e
- The clock_wait now returns the difference between requested time and unlock time.
...
Original commit message from CVS:
- The clock_wait now returns the difference between requested time and
unlock time.
- Misc defines like GST_SECOND in gstclock.h
- remove pre/post in gstelement.c until fixed.
- added release_locks to gstelement so that the element can unlock itself
- added some more predefined events.
- added folowing functions to gstpad:
- convert function: get the relation between formats on this pad
- query function: get stats about the pad (position/total/latency)
- internal connect function: find out how this pad connects to other
pad internally to the element.
- generic pad_dispatcher.
- removed the last bits of pullregion
- use release_locks on the queue.
- added some events to queue
- make gstthread use the new release_locks function
- make the scheduler use the new clock_wait functions
- added events to fakesink
- added query functions to filesrc
- swap type and offset in the bytestream seek API to match fseek
- added some event handling in bytestream.
2002-05-26 21:54:27 +00:00
Andy Wingo
d2ed0906a6
implemented threadsafe property set/get system as discussed in docs/random/wingo/threadsafe-properties some cleanups ...
...
Original commit message from CVS:
* implemented threadsafe property set/get system as discussed in
docs/random/wingo/threadsafe-properties
* some cleanups
* this change will cause binary incompatibilities, better rebuild them plugins
now, off to drink :-)
2002-05-26 03:23:25 +00:00
Thomas Vander Stichele
e8982eaf0f
API cleanup: (s/g)et_sched -> _scheduler
...
Original commit message from CVS:
API cleanup: (s/g)et_sched -> _scheduler
2002-05-25 15:36:59 +00:00