Commit graph

337 commits

Author SHA1 Message Date
Erik Walthinsen
43b635e3d0 fixed thread lock mis-merge
Original commit message from CVS:
fixed thread lock mis-merge
2001-05-24 20:36:59 +00:00
Wim Taymans
247c0f1e90 Added the queue to the thread
Original commit message from CVS:
Added the queue to the thread
2001-05-24 20:20:54 +00:00
Erik Walthinsen
f5314d44b4 Merge from HEAD into INCSCHED1 at 200105231.
Original commit message from CVS:
Merge from HEAD into INCSCHED1 at 200105231.
2001-05-24 00:46:45 +00:00
Erik Walthinsen
b619247000 fixed problem where mad wasn't an entry (it is now HACK HACK!!) and the scheduler wasn't catching the no entry case
Original commit message from CVS:
fixed problem where mad wasn't an entry (it is now HACK HACK!!) and the scheduler wasn't catching the no entry case
2001-05-23 19:49:56 +00:00
Erik Walthinsen
d7e533b5ea reworked internal parameters a bit, added leaky-queue semantics
Original commit message from CVS:
reworked internal parameters a bit, added leaky-queue semantics
2001-05-23 19:09:28 +00:00
Erik Walthinsen
61805cfb88 Added ability for caps_nego_failed signal to indicate that it's solved the problem, via a gboolean * argument that's ...
Original commit message from CVS:
Added ability for caps_nego_failed signal to indicate that it's solved the
problem, via a gboolean * argument that's FALSE, and can be set to TRUE if
the handler has fixed things up.

Updated the autoplugger so it now works in both the unknown and known cases
with and without other issues like a crippled (mono-only) osssink.
2001-05-22 01:42:50 +00:00
Erik Walthinsen
aa743e581b Updates to DEBUG system: moved statename into gstelement.c, colorized the states:
Original commit message from CVS:
Updates to DEBUG system: moved statename into gstelement.c, colorized the
states:

NULL: white
READY: read
PAUSED: yellow
PLAYING: green
2001-05-21 23:23:39 +00:00
Erik Walthinsen
6ae2bbb62d fixed up pausing system, and added src_caps_nego_failed body
Original commit message from CVS:
fixed up pausing system, and added src_caps_nego_failed body
2001-05-21 21:35:44 +00:00
Erik Walthinsen
4118c5130e gstautoplugcache.c: Set default for cache's caps_proxy to FALSE again.
Original commit message from CVS:
gstautoplugcache.c: Set default for cache's caps_proxy to FALSE again.
gstautoplugger.c: Fixed with strategic positioning of gst_pad_set_caps()
2001-05-21 02:41:19 +00:00
Erik Walthinsen
57c7dc7c6a Updated some debug statements. Added specific debug for int props.
Original commit message from CVS:
Updated some debug statements.  Added specific debug for int props.
2001-05-21 02:40:11 +00:00
Erik Walthinsen
50c9930349 update to latest code, includes caps_fail handlers that kinda work
Original commit message from CVS:
update to latest code, includes caps_fail handlers that kinda work
2001-05-17 22:00:30 +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
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
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
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
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
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
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
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
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
Erik Walthinsen
114c923c9f /me is an idiot
Original commit message from CVS:
/me is an idiot
2001-05-01 23:00:51 +00:00
Erik Walthinsen
879f3b4f29 - fixed configure.in %VAR stuff
Original commit message from CVS:
- fixed configure.in %VAR stuff
- fixed gstreamer.pc.in description string
- fixed up incremental scheduling some more
- updated the GST_DEBUG_FUNCPTR code to no longer need a hash
- minor updates to DEBUG colorization
- new test/mpeg2parse4.c
2001-05-01 21:41:40 +00:00
Thomas Vander Stichele
861ebf934c added newlines to debug output
Original commit message from CVS:
added newlines to debug output
2001-05-01 13:16:43 +00:00
Wim Taymans
7d7de1b296 Added more colors for props/caps/clock/negotiation.
Original commit message from CVS:
Added more colors for props/caps/clock/negotiation.
2001-04-28 18:59:03 +00:00
Erik Walthinsen
86027bd86f - Updated colorization some more (pthread and cothread id is in color)
Original commit message from CVS:
- Updated colorization some more (pthread and cothread id is in color)
- Added some minor debug to help trace mp1vid segfaults
2001-04-28 04:23:27 +00:00
Erik Walthinsen
7fdca5f428 Updated the colorization a bit more, and did a significant pass through all the other code to change categories on DE...
Original commit message from CVS:
Updated the colorization a bit more, and did a significant pass through all
the other code to change categories on DEBUG and INFO statements to be
correct, and not simply zero.  There are still more, but this is a good
first pass.
2001-04-28 02:54:53 +00:00
Matt Howell
7678183d1a fixed another thread synch case... better debug
Original commit message from CVS:
fixed another thread synch case... better debug
2001-04-28 01:46:00 +00:00
Erik Walthinsen
f3e94925e9 another update to the colorization code
Original commit message from CVS:
another update to the colorization code
2001-04-28 01:06:08 +00:00
Erik Walthinsen
0a7edf91e0 fixes to colorization
Original commit message from CVS:
fixes to colorization
2001-04-27 21:09:42 +00:00