Commit graph

32 commits

Author SHA1 Message Date
Erik Walthinsen 764caf7717 added shim for g_object_class_list_properties and converted -inspect and -compprep to use it
Original commit message from CVS:
added shim for g_object_class_list_properties and converted -inspect and -compprep to use it
2001-06-25 00:07:55 +00:00
Wim Taymans 2bf4898469 Fixed a compileation error for GObject.
Original commit message from CVS:
Fixed a compileation error for GObject.
2001-06-21 14:39:14 +00:00
Wim Taymans afcfcf88ca Added object properties introspection.
Original commit message from CVS:
Added object properties introspection.
2001-06-20 20:49:13 +00:00
Wim Taymans 4587e29bd6 Print out the enum values too.
Original commit message from CVS:
Print out the enum values too.
2001-06-17 14:12:51 +00:00
Wim Taymans 254b3909e6 Added enums to inspect.
Original commit message from CVS:
Added enums to inspect.
2001-06-17 03:17:54 +00:00
Wim Taymans 1210758674 Figured out how to get a property from an object.
Original commit message from CVS:
Figured out how to get a property from an object.
2001-06-17 02:39:41 +00:00
Wim Taymans 54e2d7a54e Pff, this doesn't seem to work...
Original commit message from CVS:
Pff, this doesn't seem to work...
Can someone try to get a property from a GObject?
2001-06-16 17:35:09 +00:00
Wim Taymans 66e0d59f7a Somewhat fixed -inspect
Original commit message from CVS:
Somewhat fixed -inspect
2001-06-16 17:25:45 +00:00
Wim Taymans 9b3ec7e2f6 Somewhat improve the layout of args in inspect.
Original commit message from CVS:
Somewhat improve the layout of args in inspect.
2001-06-05 17:45:52 +00:00
Wim Taymans d008889f00 Print out the default values.
Original commit message from CVS:
Print out the default values.
2001-06-04 14:50:21 +00:00
Erik Walthinsen 13502fc293 Added some caps != NULL checks.
Original commit message from CVS:
Added some caps != NULL checks.
Patched up a problem with the thread handling when the iteration fails.
Cleaned up the output of -inspect a tiny bit.
2001-05-27 23:57:34 +00:00
Erik Walthinsen 4a583683e5 Merged from INCSCHED on 200505251!!!
Original commit message from CVS:
Merged from INCSCHED on 200505251!!!
2001-05-25 21:00:07 +00:00
Wim Taymans 4212a8dfdc Fixed a problem with -inspect where some args would not show up correctly
Original commit message from CVS:
Fixed a problem with -inspect where some args would not show up correctly
2001-05-20 21:24:59 +00:00
Wim Taymans 7fb020ffe6 Better output of element flags.
Original commit message from CVS:
Better output of element flags.
2001-05-20 20:12:45 +00:00
Steve Baker c07e195b0e added output of float properties
Original commit message from CVS:
added output of float properties
2001-04-28 19:16:30 +00:00
Wim Taymans b38d9a945b A rather large patch:
Original commit message from CVS:
A rather large patch:
- changed the API for the padtemplates:
- remove the factories (array of pointers) for the padtemplates,
properties and caps. The static array was a nice idea but converting
all the property values to a gpointer was not a good idea.
float properties were not possible, and casting a gint to a pointer
is not very portable. The new API just uses the _padtemplate_new,
_caps_new and _props_new functions to create the templates.
This has the added benefit that the API is now uniform for static
and dynamic templates and that the code can be made cleaner.
- lots of cleanups in the way the capabilities are constructed (va_list)
- lots of updates for all the plugins (new API)
- docs updates (new API)
- removed the videoraw docs.
2001-04-14 18:56:37 +00:00
Wim Taymans 0837e1e495 Modified a lot of plugins to use the caps system.
Original commit message from CVS:
Modified a lot of plugins to use the caps system.
Modified the caps of audio/raw to our agreed properties.
Added the multidisksrc plugin of Dominic Ludlam
Renamed audiosink/src to osssink/src and updated all the examples using
the old name. Moved oss specific plugins in an oss directory. removed
the old audiosink from the elements/ dir.
removed audioraw.h metadata header files since we now use the properties.
There are still a few plugins that won't build because they include the
old audioraw.h header file. This will be fixed soon.
Make sure the caps are set in the plugins as described by their
padtemplates (this should solve problems with gstmediaplay with various
media files).

*please don't panic when some plugins won't build, just cd manually into
the plugin dirs* This will be fixed soon.
2001-03-24 17:22:03 +00:00
Wim Taymans df681e7f0e Adjusted -inspect to the new GstCaps structure
Original commit message from CVS:
Adjusted -inspect to the new GstCaps structure
2001-03-13 22:21:29 +00:00
Wim Taymans 55006f6367 Merged the AUTOPLUG2 branch
Original commit message from CVS:
Merged the AUTOPLUG2 branch
2001-03-07 21:52:56 +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
Wim Taymans 75aa948e0c Docs updates
Original commit message from CVS:
Docs updates
Added XML load from memory functionality
Undid the videosink patch, something else is wrong now on my machine:
no MMX acceleration :-(
2001-01-21 23:20:46 +00:00
Erik Walthinsen c31f9a570c First pass at updating to new ghostpad system. The objects are in place,
Original commit message from CVS:
First pass at updating to new ghostpad system.  The objects are in place,
I now need to go and get all the Bin end of things worked out.  Testing
should be fairly easy, at least for verification.

Everything I've tried so far works with no changes, with is amazing.
That's just cool.  Once again we rewrite an entire subsystem, and nothing
else notices anything but the new features ;-)
2001-01-19 02:23:35 +00:00
Wim Taymans 1e9fa15f1f Updated -inspect to display the new pad presence REQUEST.
Original commit message from CVS:
Updated -inspect to display the new pad presence REQUEST.
2001-01-19 00:07:10 +00:00
Erik Walthinsen 2671b85b04 various changes, including making -launch use the library version
Original commit message from CVS:
various changes, including making -launch use the library version
2001-01-09 04:39:35 +00:00
Wim Taymans 4827c9fe56 Added printout of the capabilities of the pads
Original commit message from CVS:
Added printout of the capabilities of the pads
2001-01-04 19:16:57 +00:00
Wim Taymans 22a79f5938 Added enum values with default removed debugging -g from Makefile
Original commit message from CVS:
Added enum values with default
removed debugging -g from Makefile
2001-01-04 18:57:29 +00:00
Erik Walthinsen e318439f64 Updated -inspect to list elements and plugin info too
Original commit message from CVS:
Updated -inspect to list elements and plugin info too
2001-01-04 10:47:39 +00:00
Wim Taymans ee33cb2a26 Added the previous changes back in
Original commit message from CVS:
Added the previous changes back in
2001-01-03 20:55:16 +00:00
Wim Taymans 7411cfe17e Made the GstProps a GList instead of a GSList
Original commit message from CVS:
Made the GstProps a GList instead of a GSList
Some fixes to inspect: added the mime type
2001-01-03 20:21:22 +00:00
Wim Taymans 786ba1e3d7 Added proper comment for the bonobo component fix a compile bug in inspect... Erik, have pending changes to gstpad.h?
Original commit message from CVS:
Added proper comment for the bonobo component
fix a compile bug in inspect... Erik, have pending changes to gstpad.h?
2001-01-03 19:54:01 +00:00
Erik Walthinsen 8d6f8273fe Updates, it prints a lot more stuff now, like padtemplates, caps/props, and arguments. More stuff can be done, but n...
Original commit message from CVS:
Updates, it prints a lot more stuff now, like padtemplates, caps/props,
and arguments.  More stuff can be done, but not now, I must sleep.
2001-01-03 08:48:36 +00:00
Erik Walthinsen 38b35fd2d0 Updates to -launch, added -inspect.
Original commit message from CVS:
Updates to -launch, added -inspect.
2001-01-03 07:38:45 +00:00