gstreamer/docs/gst/tmpl
Andy Wingo 4b908e33e0 gst/gstutils.c: RPAD fixes all around.
Original commit message from CVS:
2005-06-08  Andy Wingo  <wingo@pobox.com>

* gst/gstutils.c: RPAD fixes all around.
(gst_element_link_pads): Refcounting fixes.

* tools/gst-inspect.c:
* tools/gst-xmlinspect.c:
* parse/grammar.y:
* gst/base/gsttypefindhelper.c:
* gst/base/gstbasesink.c:
* gst/gstqueue.c: RPAD fixes.

* gst/gstghostpad.h:
* gst/gstghostpad.c: New ghost pad implementation as full proxy
pads. The tricky thing is they provide both source and sink
interfaces, since they proxy the internal pad for the external
pad, and vice versa. Implement with lower-level ProxyPad objects,
with the interior proxy pad as a child of the exterior ghost pad.
Should write a doc on this.

* gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
(gst_pad_set_name, gst_pad_set_parent): Macros removed, use
gst_object API.

* gst/gstpad.c: Big changes. No more stub base GstPad, now all
pads are real pads. No ghost pads in this file. Not documenting
the myriad s/RPAD/PAD/ and REALIZE fixes.
(gst_pad_class_init): Add properties for "direction" and
"template". Both are construct-only, so they can't change during
the life of the pad. Fixes properly deriving from GstPad.
(gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
derived objects, just set properties when creating the objects via
g_object_new.
(gst_pad_get_parent): Implement as a function, return NULL if the
parent is not an element.
(gst_pad_get_real_parent, gst_pad_add_ghost_pad)
(gst_pad_remove_ghost_pad, gst_pad_realize): Removed.

* gst/gstobject.c (gst_object_class_init): Make name a construct
property. Don't set it in the object init.

* gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
with UNKNOWN direction.
(gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
(gst_element_remove_pad): Remove ghost-pad special cases.
(gst_element_pads_activate): Remove rpad cruft.

* gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
catch the pad's-parent-not-an-element case.

* gst/gst.h: Include gstghostpad.h.

* gst/gst.c (init_post): No more real, ghost pads.

* gst/Makefile.am: Add gstghostpad.[ch].

* check/Makefile.am:
* check/gst/gstbin.c:
* check/gst/gstghostpad.c (test_ghost_pads): Check that linking
into a bin creates ghost pads, and that the refcounts are right.
Partly moved from gstbin.c.
2005-06-08 22:16:27 +00:00
..
.gitignore ignore files 2003-09-11 12:05:08 +00:00
gst.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstbin.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstbuffer.sgml gst/gstminiobject.c (gst_value_mini_object_collect): Use gst_value_set_mini_object so as to add a ref on the object (... 2005-05-27 09:27:35 +00:00
gstcaps.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstclock.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstcompat.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gstconfig.sgml fixed all double <TITLE> elements in sections.txt added missing <TITLE> elements in sections.txt 2004-07-26 16:34:35 +00:00
gstelement.sgml gst/gstutils.c: RPAD fixes all around. 2005-06-08 22:16:27 +00:00
gstelementdetails.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstelementfactory.sgml Use libxml2 for registry parsing, use staticpadtemplates in elementfactories. Makes gst_init() +/- 10x faster. 2005-04-12 15:00:30 +00:00
gstenumtypes.sgml removed gstenumtypes section from docs and put all the enums into their sections 2004-12-30 11:45:12 +00:00
gsterror.sgml removed gstenumtypes section from docs and put all the enums into their sections 2004-12-30 11:45:12 +00:00
gstevent.sgml gst/gstbin.c (sink_iterator_filter): Err... um... 2005-05-16 21:17:14 +00:00
gstfilter.sgml docs/gst/gstreamer-docs.sgml: I got tired of the reference manual being such complete crap, that I decided to do majo... 2004-03-25 04:20:33 +00:00
gstformat.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstghostpad.sgml gst/gstutils.c: RPAD fixes all around. 2005-06-08 22:16:27 +00:00
gstimplementsinterface.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gstindex.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gstindexfactory.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gstinfo.sgml added some more docs, removed two obsolete defines 2004-11-03 09:21:01 +00:00
gstmacros.sgml added some more docs, removed two obsolete defines 2004-11-03 09:21:01 +00:00
gstmemchunk.sgml Purge GstAtomic stuff from docs and win32 makefiles as well 2005-05-06 17:33:55 +00:00
gstobject.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstpad.sgml gst/gstutils.c: RPAD fixes all around. 2005-06-08 22:16:27 +00:00
gstpadtemplate.sgml gst/gstutils.c: RPAD fixes all around. 2005-06-08 22:16:27 +00:00
gstparse.sgml small followup of doc fixes (section title case) 2004-07-27 15:08:54 +00:00
gstpipeline.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstplugin.sgml GCC 4 fixen. 2005-05-04 21:29:44 +00:00
gstpluginfeature.sgml more api documentation better error signaling and logging 2004-10-13 13:03:25 +00:00
gstprobe.sgml docs/gst/tmpl/gstprobe.sgml: Fix documentation of probe callback - it is supposed to return 2004-12-16 10:49:22 +00:00
gstquery.sgml gst/gstquery.h 2005-05-06 21:41:22 +00:00
gstqueue.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gstrealpad.sgml fixed all double <TITLE> elements in sections.txt added missing <TITLE> elements in sections.txt 2004-07-26 16:34:35 +00:00
gstregistry.sgml more api documentation better error signaling and logging 2004-10-13 13:03:25 +00:00
gstregistrypool.sgml docs/gst/gstreamer-docs.sgml: I got tired of the reference manual being such complete crap, that I decided to do majo... 2004-03-25 04:20:33 +00:00
gstscheduler.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstschedulerfactory.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gststructure.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gstsystemclock.sgml po/, docs/gst/: Commit automatic changes to docs and po files. 2005-03-29 10:55:39 +00:00
gsttaglist.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gsttagsetter.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gsttrace.sgml docs/gst/gstreamer-docs.sgml: I got tired of the reference manual being such complete crap, that I decided to do majo... 2004-03-25 04:20:33 +00:00
gsttrashstack.sgml docs/gst/gstreamer-docs.sgml: I got tired of the reference manual being such complete crap, that I decided to do majo... 2004-03-25 04:20:33 +00:00
gsttypefind.sgml fixed all double <TITLE> elements in sections.txt added missing <TITLE> elements in sections.txt 2004-07-26 16:34:35 +00:00
gsttypefindfactory.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gsttypes.sgml gst/elements/gsttypefindelement.c (do_pull_typefind): Query the file size, pass it on to the type find helper. 2005-06-02 11:12:34 +00:00
gsturihandler.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gsturitype.sgml added documentation to many items moved the GST_TYPE_XXX one to the Standart section, as they do not need docs 2004-09-02 14:24:22 +00:00
gstutils.sgml added some more docs, removed two obsolete defines 2004-11-03 09:21:01 +00:00
gstvalue.sgml fix build 2005-01-11 11:25:22 +00:00
gstversion.sgml more api documentation better error signaling and logging 2004-10-13 13:03:25 +00:00
gstxml.sgml docs/gst/Makefile.am: Remove --ignore-fail-on-non-empty (#150331) 2004-08-18 21:46:55 +00:00