Commit graph

28 commits

Author SHA1 Message Date
Erik Walthinsen 91afe9cd73 Swapped PAUSED and PLAYING states, reworked thread interlocking.
Original commit message from CVS:
Swapped PAUSED and PLAYING states, reworked thread interlocking.
States are now: NULL <-> READY <-> PAUSED <-> PLAYING.

Had do update dv1394src, gst_arts, and xmmsinput, please test these out!

Cleaned up DEBUG output in several places to by much much less verbose
but still just as useful (denser).
2001-05-25 17:35:47 +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 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 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
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 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
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 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
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
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
Erik Walthinsen 41ca38a36d added colorization of DEBUG and INFO, and a comment in gstelement.h
Original commit message from CVS:
added colorization of DEBUG and INFO, and a comment in gstelement.h
2001-04-27 20:47:21 +00:00
Erik Walthinsen e6a59c8a62 Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
Original commit message from CVS:
Merged HEAD from BRANCH-INCSCHED1-200104161 into BRANCH-INCSCHED1.
2001-04-16 21:43:28 +00:00
Wim Taymans 51cbf22624 This is a megapatch with the following changes:
Original commit message from CVS:
This is a megapatch with the following changes:

- moved the gchar *name to GstObject, removed the ones in GstElement and
GstPad.
- moved the parent handling completely into GstObject. This cause *all* of
the plugins to fail (except those that used gst_pad_get_parent)
- rearanged the XML save handling.
- GstObject now has a class function save/restore_thyself.
- GstObject has a generic method gst_object_save_thyself, this makes it
possible to fire a signal wehever a new object is loaded. This is needed
so we can add XML save hooks.
- GstXML API has changed slightly. You now have to create a GstXML object
first before you can actually load something. This makes it possible to
attach a signal to GstXML whenever an object is loaded. I'm not sure we
will keep this interface.
- GstObject can now print the path_string without knowing about the GstPad and
GstElement types.
- Added gst_bin_get_by_name_recurse_up to lookup an element in the current
element hierarchy.
- added XML namespaces to the saved pipelines the namespace is:
http://gstreamer.net/gst-core/1.0/
namespaces are needed to distinguish user generated XML from the core XML.

Note that the plugins still contain a macro GST_OBJECT_PARENT that will be
replaced with gst_pad_get_parent shortly.
2001-01-29 00:06:02 +00:00
Erik Walthinsen 72c7d3527f removed some spare newlines
Original commit message from CVS:
removed some spare newlines
2001-01-11 00:33:51 +00:00
Erik Walthinsen df81ae1765 updated API docs
Original commit message from CVS:
updated API docs
2001-01-04 22:16:06 +00:00
Erik Walthinsen 8cc76f5013 updated the debug system so it works nicely now
Original commit message from CVS:
updated the debug system so it works nicely now
2001-01-01 05:18:07 +00:00
Erik Walthinsen db7243a77b Added API to control DEBUG level, updated cmdline code
Original commit message from CVS:
Added API to control DEBUG level, updated cmdline code
2001-01-01 04:53:26 +00:00
Wim Taymans f3f09b43da Added command line parsing for
Original commit message from CVS:
Added command line parsing for
--gst-info-mask, --gst-debug-mask and --help
Dump the FLAGS and options on --help
2001-01-01 03:43:27 +00:00
Erik Walthinsen 1e04cefaf2 Mega update of INFO, DEBUG, and ERROR subsystems, renamed with GST_ prefix.
Original commit message from CVS:
Mega update of INFO, DEBUG, and ERROR subsystems, renamed with GST_ prefix.
GST_DEBUG now takes a category parameter, which is the same as GST_INFO
system.  They are now called GST_CAT_*.  All the GST_DEBUGs are set to 0
for now, we need to go and fix all these eventually.
2001-01-01 03:14:40 +00:00
Wim Taymans 2a1f2f4424 Added --enable-info and --disable-info-system nothing specified = INFO enabled, mask to 0x00000001
Original commit message from CVS:
Added --enable-info and --disable-info-system
nothing specified = INFO enabled, mask to 0x00000001
--enable-info =     INFO enabled, mask to 0xffffffff
--disable-info =    INFO compiled into a nop and thus disabled
2001-01-01 01:56:16 +00:00
Erik Walthinsen e0aa5bae14 Cleaned up INFO system some more, added API to select categories, modified the printout function to print cleanly for...
Original commit message from CVS:
Cleaned up INFO system some more, added API to select categories, modified
the printout function to print cleanly for GST_INIT info (the default min)
and spew function:line debug_string [element] for everything else.
Eventually could make even that configurable easily enough, just check
against another bitmap instead of checking for == GST_INIT.
2001-01-01 00:17:21 +00:00
Erik Walthinsen 9a0438ba93 Started work on better ghostpad management, and started to build the low- level EOS mechanism.
Original commit message from CVS:
Started work on better ghostpad management, and started to build the low-
level EOS mechanism.

Also removed a couple of printouts that aren't needed any more.
2000-12-31 22:18:05 +00:00
Wim Taymans bc4619a44b Added multiple caps to the pads
Original commit message from CVS:
Added multiple caps to the pads
Extended the padfactory for the multiple caps
GstCaps now have a name so that future manipulations on them can be done by name
Updated the plugins for the new caps list
2000-12-31 16:12:48 +00:00
Erik Walthinsen 9813b0ca37 Updated more files to use INFO.
Original commit message from CVS:
Updated more files to use INFO.
2000-12-30 02:41:15 +00:00
Erik Walthinsen a80b0c26d5 Added DEBUG, INFO, and ERROR systems. Very little code is converted yet.
Original commit message from CVS:
Added DEBUG, INFO, and ERROR systems.  Very little code is converted yet.
Policy decisions need to be made as to what kinds of cases get what kind
of response, and what the default ERROR response should be.  Right now it
will print out all the information, then have gdb spew a stack trace.
2000-12-29 10:02:17 +00:00