Commit graph

678 commits

Author SHA1 Message Date
Wim Taymans
846ce23d28 Added thread refcounting and module test case
Original commit message from CVS:
Added thread refcounting and module test case
2001-05-16 22:09:29 +00:00
Wim Taymans
137e5a6d93 More testsuite updates
Original commit message from CVS:
More testsuite updates
2001-05-16 22:08:58 +00:00
Wim Taymans
d374791e8b Slighly take a different approach for object destruction, using the real _remove functions so that the scheduler has ...
Original commit message from CVS:
Slighly take a different approach for object destruction, using the real
_remove functions so that the scheduler has a chance to destroy its state
too.
This breaks the thread with ghostpads destruction case for now.
2001-05-16 22:08:40 +00:00
Erik Walthinsen
07aeaa83d5 added first_buffer signal, and default to caps_proxy true
Original commit message from CVS:
added first_buffer signal, and default to caps_proxy true
2001-05-16 21:19:59 +00:00
Erik Walthinsen
65a6e752bf up to latest (broken) autoplugger)
Original commit message from CVS:
up to latest (broken) autoplugger)
2001-05-16 21:18:15 +00:00
Wim Taymans
cff4720acf Added ghostpad destruction.
Original commit message from CVS:
Added ghostpad destruction.
2001-05-15 19:25:31 +00:00
Erik Walthinsen
05a517acf1 IT WORKS\!\!\!
Original commit message from CVS:
IT WORKS\!\!\!
2001-05-15 04:13:01 +00:00
Erik Walthinsen
d769aaaf99 gstinfo.c: one more check to make sure DEBUG_FUNCPTR_NAME doesn't go south gstpad.c: debugging changes gsttypefind.c:...
Original commit message from CVS:
gstinfo.c: one more check to make sure DEBUG_FUNCPTR_NAME doesn't go south
gstpad.c: debugging changes
gsttypefind.c: moved gst_pad_set_caps to *before* the caps_changed signal
gstautoplugcache.c: added refcounting around signal_emit, and debug updates
gstautoplugger.c: added code to remove the autoplugcache when done
2001-05-15 01:45:16 +00:00
Wim Taymans
0eb3cc9ca4 Added a reference to typefind.
Original commit message from CVS:
Added a reference to typefind.
2001-05-14 22:42:42 +00:00
Erik Walthinsen
6faaf698e6 enhanced debug and minor code cleanup (no functional changes)
Original commit message from CVS:
enhanced debug and minor code cleanup (no functional changes)
2001-05-14 22:21:03 +00:00
Wim Taymans
f00f7effdd Refcounting fixes
Original commit message from CVS:
Refcounting fixes
2001-05-14 21:57:06 +00:00
Wim Taymans
5cb557dbf5 fixed a mem leak in the destroy code.
Original commit message from CVS:
fixed a mem leak in the destroy code.
2001-05-14 21:22:52 +00:00
Wim Taymans
58085b9304 slightly different refcount handling. the pad shutdown function doesn't remove the pad from the parent because the pa...
Original commit message from CVS:
slightly different refcount handling. the pad shutdown function doesn't
remove the pad from the parent because the parent is needed in the destroy
function.
2001-05-14 21:20:31 +00:00
Erik Walthinsen
ed06327f06 cothreads.c: added a comment on one of the tests gstbin.h: added the GST_BIN_SELF_SCHEDULABLE flag gstelement.c: clea...
Original commit message from CVS:
cothreads.c: added a comment on one of the tests
gstbin.h: added the GST_BIN_SELF_SCHEDULABLE flag
gstelement.c: cleaned up the _change_state function a little
gstobject.c: improved the refcounting DEBUGs
gstpad.c: moved the connected signal to after capsnego,
added the caps_nego_failed signal
gstpad.h: added the caps_nego_failed signal funcptr
gstscheduler.c: added the GST_BIN_SELF_SCHEDULABLE exception
gsttypefind.c: added check code around signal_emit to deal with the case
where the signal's handler shuts down the element
gstautoplugcache.c: added the first_buffer signal and caps_proxy arg
gstautoplugger.c: significant rework, it functions quite nicely actually
2001-05-14 20:08:42 +00:00
Wim Taymans
dbbd2077d0 More testsuite updates
Original commit message from CVS:
More testsuite updates
2001-05-13 15:29:47 +00:00
Wim Taymans
3e44dbdb6e More housekeeping updates. _destroying an element or a pad properly removes if from the parent.
Original commit message from CVS:
More housekeeping updates.
_destroying an element or a pad properly removes if from the parent.
2001-05-13 15:29:25 +00:00
Wim Taymans
6f9ac3667b Fixed a leak in bin destruction
Original commit message from CVS:
Fixed a leak in bin destruction
More refcounting fixes
2001-05-12 18:04:20 +00:00
Wim Taymans
12cfd1842c More refcounting test cases
Original commit message from CVS:
More refcounting test cases
2001-05-12 18:03:52 +00:00
Wim Taymans
1041fcea08 More testcases
Original commit message from CVS:
More testcases
2001-05-12 14:07:28 +00:00
Wim Taymans
b42e262efe Added gst_element_remove_pad. more refcounting stuff (object unparent on destroy)
Original commit message from CVS:
Added gst_element_remove_pad.
more refcounting stuff (object unparent on destroy)
2001-05-12 14:07:13 +00:00
Wim Taymans
d5cb52427f Refcounting fixes to make the testsuite succeed.
Original commit message from CVS:
Refcounting fixes to make the testsuite succeed.
Added a ne w category for REFCOUNTING.
2001-05-12 00:04:32 +00:00
Wim Taymans
13c4e92c04 More testsuite updates
Original commit message from CVS:
More testsuite updates
2001-05-12 00:03:35 +00:00
Wim Taymans
ff175b6074 Updated the autoplugger example to use the new cache.
Original commit message from CVS:
Updated the autoplugger example to use the new cache.
2001-05-11 19:36:18 +00:00
Wim Taymans
e107d77284 Added the refcounting testsuite dir to configure.in
Original commit message from CVS:
Added the refcounting testsuite dir to configure.in
2001-05-11 18:44:48 +00:00
Wim Taymans
05a7d639e0 Added a testsuite for refcounting.
Original commit message from CVS:
Added a testsuite for refcounting.
2001-05-11 18:44:18 +00:00
Wim Taymans
fa8e54e450 Work on refcounting and proper object destruction.
Original commit message from CVS:
Work on refcounting and proper object destruction.
2001-05-11 18:41:13 +00:00
Erik Walthinsen
24a3b52549 minor updates to ouptut, added section for meta-elements' children
Original commit message from CVS:
minor updates to ouptut, added section for meta-elements' children
2001-05-10 08:22:39 +00:00
Erik Walthinsen
38e8ff8b70 minor cleanup of some debug strings
Original commit message from CVS:
minor cleanup of some debug strings
2001-05-10 08:17:45 +00:00
Erik Walthinsen
89aa4a3810 - Fixed up a bunch of warnings.
Original commit message from CVS:
- Fixed up a bunch of warnings.
- Fixed buffer_copy (alloc correct size)
- Added start of autoplugger meta-element
2001-05-10 08:16:36 +00:00
Erik Walthinsen
a4ef247132 added the caps_changed signals, changed a few other things around a littleto clean up warnings
Original commit message from CVS:
added the caps_changed signals, changed a few other things around a littleto clean up warnings
2001-05-08 20:44:25 +00:00
Wim Taymans
16638cdf31 Added a WITH_BUG2 define to show the livelock we're trying to fix.
Original commit message from CVS:
Added a WITH_BUG2 define to show the livelock we're trying to fix.
2001-05-07 21:57:43 +00:00
Erik Walthinsen
aec5a57022 updated autoplugcache so it can be removed mid-signal, now autoplugtest works
Original commit message from CVS:
updated autoplugcache so it can be removed mid-signal, now autoplugtest works
2001-05-07 21:46:15 +00:00
Erik Walthinsen
5bb3603feb fixed bug in datastructure usage
Original commit message from CVS:
fixed bug in datastructure usage
2001-05-06 22:48:41 +00:00
Erik Walthinsen
e88151bc2e fixed gst_scheduler_pad_disconnect (never ignore compiler warnings\!) and updated a few INFO lines
Original commit message from CVS:
fixed gst_scheduler_pad_disconnect (never ignore compiler warnings\!) and updated a few INFO lines
2001-05-06 22:12:46 +00:00
Erik Walthinsen
fa726627a3 fixed up some things, added vorbis
Original commit message from CVS:
fixed up some things, added vorbis
2001-05-06 22:12:00 +00:00
Wim Taymans
82091e16ff Adjusted the Makefile so that it builds here...
Original commit message from CVS:
Adjusted the Makefile so that it builds here...
2001-05-06 18:03:49 +00:00
Erik Walthinsen
4b85dd12e9 initial checkin of autoplugcache and a test program to simulate dynamic autoplugging
Original commit message from CVS:
initial checkin of autoplugcache and a test program to simulate dynamic autoplugging
2001-05-06 17:33:57 +00:00
Erik Walthinsen
12d962e174 added initial bash commandline completion code
Original commit message from CVS:
added initial bash commandline completion code
2001-05-06 08:16:10 +00:00
Erik Walthinsen
9bc5f785d7 Add the GST_ELEMENT_NO_ENTRY flag, which when set will force the scheduler to skip over an element as an option for t...
Original commit message from CVS:
Add the GST_ELEMENT_NO_ENTRY flag, which when set will force the scheduler
to skip over an element as an option for the first cothread jump.  This is
needed because libraries like mad don't ever seem to want to quit.  Thus
they ignore COTHREAD_STOPPING and can't be trusted to be the entry.
2001-05-04 22:14:35 +00:00
Erik Walthinsen
649c98a5f7 Some minor DEBUG cleanups, renamed the various scheduler-specific routines to actually be called gst_schedule_ instea...
Original commit message from CVS:
Some minor DEBUG cleanups, renamed the various scheduler-specific routines
to actually be called gst_schedule_ instead of gst_bin_.
2001-05-04 20:43:44 +00:00
Thomas Vander Stichele
4902cf1f80 made a quick hack in adder to set GST_ELEMENT_COTHREAD_STOPPING after one interation to force return to main program;...
Original commit message from CVS:
* made a quick hack in adder to set GST_ELEMENT_COTHREAD_STOPPING after
one interation to force return to main program; should probably be fixed
in a better way
* cleaned mixer up, it now works with delayed start.  Drinks are in order.
2001-05-03 10:16:26 +00:00
Wim Taymans
b3484a042a Added and extra whitespace before ## args (remember it eats all non whitespace chars to the left if it's empty).
Original commit message from CVS:
Added and extra whitespace before ## args (remember it eats all non
whitespace chars to the left if it's empty).
2001-05-02 23:44:46 +00:00
Erik Walthinsen
4777090985 re-enabled the funcptr hash table
Original commit message from CVS:
re-enabled the funcptr hash table
2001-05-02 20:27:25 +00:00
Wim Taymans
4bd4712f60 Added a WITH_BUG flag to trigger the scheduling error we're trying to chase.
Original commit message from CVS:
Added a WITH_BUG flag to trigger the scheduling error we're trying to
chase.
2001-05-02 20:16:24 +00:00
Thomas Vander Stichele
6ec7766a4c delayed second song
Original commit message from CVS:
delayed second song
2001-05-02 20:12:04 +00:00
Erik Walthinsen
12f5bc7926 added two debugging things: xml pipelie output, and schedule dump
Original commit message from CVS:
added two debugging things: xml pipelie output, and schedule dump
2001-05-02 20:01:02 +00:00
Erik Walthinsen
4b2bb87b25 Converted the DEBUG system to look like the INFO system, with a function pointer that can be replaced. Not done with...
Original commit message from CVS:
Converted the DEBUG system to look like the INFO system, with a function
pointer that can be replaced.  Not done with everything, since it seems
that we need an ERROR system plus a FATAL error, or maybe just an ERROR
system with a severity, and depending on this the DEBUG system might again
be changed to have a single or at least fewer handlers.

Also did a bit of work fixing up the actual DEBUG and INFO commands
scattered throughout the code.  We still have over 500 of these in gst/*.c
alone...
2001-05-02 19:20:24 +00:00
Thomas Vander Stichele
611c3ae810 trying to adapt to incsched
Original commit message from CVS:
trying to adapt to incsched
2001-05-02 19:11:48 +00:00
Thomas Vander Stichele
9cd0c45bb8 added mixer
Original commit message from CVS:
added mixer
2001-05-02 08:51:42 +00:00
Erik Walthinsen
114c923c9f /me is an idiot
Original commit message from CVS:
/me is an idiot
2001-05-01 23:00:51 +00:00