- Reclaim cothread state even if the cothread was never activated after the free.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 20 Dec 2001 20:03:10 +0000 (20:03 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 20 Dec 2001 20:03:10 +0000 (20:03 +0000)
commitf5affde61c45cb331489ef4068d059709f8bf9a8
treeb5913bc5ef4710d36cd793d4c3801e1dfaacfff0
parenta8b13468572d06fe32c9a08e3b583c160a9fea2a
- 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.
12 files changed:
gst/cothreads.c
gst/gstbin.c
gst/gstbin.h
gst/gstelement.c
gst/gstevent.c
gst/gstevent.h
gst/gstqueue.c
gst/gstscheduler.c
gst/gstscheduler.h
gst/gstthread.c
gst/schedulers/gstbasicscheduler.c
plugins/elements/gstqueue.c