From: Wim T. <wt...@us...> - 2001-10-24 21:44:51
|
Update of /cvsroot/gstreamer/gstreamer/docs/gst In directory usw-pr-cvs1:/tmp/cvs-serv1183 Modified Files: gstreamer-docs.sgml gstreamer-sections.txt gstreamer.hierarchy Log Message: Split out the padtemplate, autoplugfactoy and elementfactory into different pages to be able to show more examples and the object hierarchy. Index: gstreamer-docs.sgml =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/docs/gst/gstreamer-docs.sgml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- gstreamer-docs.sgml 2001/10/21 15:47:23 1.20 +++ gstreamer-docs.sgml 2001/10/24 21:44:48 1.21 @@ -1,6 +1,8 @@ <!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [ <!entity Gst SYSTEM "sgml/gst.sgml"> +<!entity GstAutoplug SYSTEM "sgml/gstautoplug.sgml"> +<!entity GstAutoplugFactory SYSTEM "sgml/gstautoplugfactory.sgml"> <!entity GstInfo SYSTEM "sgml/gstinfo.sgml"> <!entity GstBin SYSTEM "sgml/gstbin.sgml"> <!entity GstData SYSTEM "sgml/gstdata.sgml"> @@ -9,12 +11,13 @@ <!entity GstBufferPool SYSTEM "sgml/gstbufferpool.sgml"> <!entity GstCpu SYSTEM "sgml/gstcpu.sgml"> <!entity GstElement SYSTEM "sgml/gstelement.sgml"> +<!entity GstElementFactory SYSTEM "sgml/gstelementfactory.sgml"> <!entity GstLog SYSTEM "sgml/gstlog.sgml"> <!entity GstObject SYSTEM "sgml/gstobject.sgml"> <!entity GstPad SYSTEM "sgml/gstpad.sgml"> -<!entity GstPipeline SYSTEM "sgml/gstpipeline.sgml"> -<!entity GstAutoplug SYSTEM "sgml/gstautoplug.sgml"> +<!entity GstPadTemplate SYSTEM "sgml/gstpadtemplate.sgml"> <!entity GstParse SYSTEM "sgml/gstparse.sgml"> +<!entity GstPipeline SYSTEM "sgml/gstpipeline.sgml"> <!entity GstPlugin SYSTEM "sgml/gstplugin.sgml"> <!entity GstPluginFeature SYSTEM "sgml/gstpluginfeature.sgml"> <!entity GstThread SYSTEM "sgml/gstthread.sgml"> @@ -65,6 +68,7 @@ &Gst; &GstAutoplug; + &GstAutoplugFactory; &GstBin; &GstBuffer; &GstBufferPool; @@ -73,10 +77,12 @@ &GstCpu; &GstData; &GstElement; + &GstElementFactory; &GstEvent; &GstInfo; &GstObject; &GstPad; + &GstPadTemplate; &GstParse; &GstPipeline; &GstPlugin; @@ -100,32 +106,8 @@ <para> libgstelements.la provide some basic elements like a disk source - and sink. The use of these elements is strictly though the gtk_object_get() and - gtk_object_set() functions and the GStreamer Core Library functions. - </para> - <para> - Use the gst_elementfactory_find() and gst_elementfactory_create() functions - to create these elements. - </para> - <para> - The following code example shows you how to create a GstDiskSrc element. - </para> - - <para> - <programlisting role="C"> - #include <gst/gst.h> - - GstElement *src; - GstElementFactory *srcfactory; - - gst_init(&argc,&argv); - - srcfactory = gst_elementfactory_find("disksrc"); - g_return_if_fail(srcfactory != NULL); - src = gst_elementfactory_create(srcfactory,"src"); - g_return_if_fail(src != NULL); - ... - </programlisting> + and sink. The use of these elements is strictly though the g_object_get() and + g_object_set() functions and the GStreamer Core Library functions. </para> &GstAggregator; Index: gstreamer-sections.txt =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/docs/gst/gstreamer-sections.txt,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- gstreamer-sections.txt 2001/10/24 18:41:49 1.40 +++ gstreamer-sections.txt 2001/10/24 21:44:48 1.41 @@ -485,8 +485,6 @@ GST_ELEMENT_SCHED GST_ELEMENT_MANAGER GstElement -GstElementDetails -GstElementFactory GstElementLoopFunction gst_element_class_add_padtemplate gst_element_destroy @@ -516,14 +514,6 @@ gst_element_get_factory gst_element_signal_eos gst_element_restore_thyself -gst_elementfactory_new -gst_elementfactory_add_padtemplate -gst_elementfactory_find -gst_elementfactory_get_list -gst_elementfactory_can_src_caps -gst_elementfactory_can_sink_caps -gst_elementfactory_create -gst_elementfactory_make <SUBSECTION Standard> GstElementClass GST_TYPE_ELEMENT @@ -534,12 +524,27 @@ GST_IS_ELEMENT GST_IS_ELEMENT_CLASS gst_element_get_type -gst_elementfactory_get_type -GstElementFactoryClass -GST_TYPE_ELEMENTFACTORY +</SECTION> + +<SECTION> +<FILE>gstelementfactory</FILE> +<TITLE>GstElementFactory</TITLE> +GstElementDetails +gst_elementfactory_new +gst_elementfactory_find +gst_elementfactory_get_list +gst_elementfactory_add_padtemplate +gst_elementfactory_can_src_caps +gst_elementfactory_can_sink_caps +gst_elementfactory_create +gst_elementfactory_make +<SUBSECTION Standard> +GstElementFactory GST_ELEMENTFACTORY -GST_ELEMENTFACTORY_CLASS GST_IS_ELEMENTFACTORY +GST_TYPE_ELEMENTFACTORY +gst_elementfactory_get_type +GST_ELEMENTFACTORY_CLASS GST_IS_ELEMENTFACTORY_CLASS </SECTION> @@ -549,16 +554,9 @@ <TITLE>GstAutoplug</TITLE> GstAutoplug GstAutoplugFlags -GstAutoplugFactory gst_autoplug_signal_new_object gst_autoplug_to_caps gst_autoplug_to_renderers -gst_autoplugfactory_new -gst_autoplugfactory_destroy -gst_autoplugfactory_find -gst_autoplugfactory_get_list -gst_autoplugfactory_create -gst_autoplugfactory_make <SUBSECTION Standard> GST_AUTOPLUG GST_IS_AUTOPLUG @@ -566,6 +564,19 @@ gst_autoplug_get_type GST_AUTOPLUG_CLASS GST_IS_AUTOPLUG_CLASS +</SECTION> + +<SECTION> +<FILE>gstautoplugfactory</FILE> +<TITLE>GstAutoplugFactory</TITLE> +GstAutoplugFactory +gst_autoplugfactory_new +gst_autoplugfactory_destroy +gst_autoplugfactory_find +gst_autoplugfactory_get_list +gst_autoplugfactory_create +gst_autoplugfactory_make +<SUBSECTION Standard> gst_autoplugfactory_get_type GstAutoplugFactoryClass GST_TYPE_AUTOPLUGFACTORY @@ -745,21 +756,6 @@ GstGhostPad gst_ghost_pad_new -GstPadPresence -GstPadTemplate -GST_PADTEMPLATE_CAPS -GST_PADTEMPLATE_DIRECTION -GST_PADTEMPLATE_NAME_TEMPLATE -GST_PADTEMPLATE_PRESENCE -GST_PADTEMPLATE_NEW -GST_PADTEMPLATE_FACTORY -GST_PADTEMPLATE_GET -gst_padtemplate_new -gst_padtemplate_load_thyself -gst_padtemplate_save_thyself -gst_padtemplate_get_caps -gst_padtemplate_get_caps_by_name - <SUBSECTION Standard> GstPadClass GST_TYPE_PAD @@ -793,7 +789,27 @@ GST_IS_GHOST_PAD_CLASS GST_IS_GHOST_PAD_FAST gst_ghost_pad_get_type +</SECTION> + +<SECTION> +<FILE>gstpadtemplate</FILE> +<TITLE>GstPadTemplate</TITLE> +GstPadPresence +GstPadTemplate +GST_PADTEMPLATE_CAPS +GST_PADTEMPLATE_DIRECTION +GST_PADTEMPLATE_NAME_TEMPLATE +GST_PADTEMPLATE_PRESENCE +GST_PADTEMPLATE_NEW +GST_PADTEMPLATE_FACTORY +GST_PADTEMPLATE_GET +gst_padtemplate_new +gst_padtemplate_load_thyself +gst_padtemplate_save_thyself +gst_padtemplate_get_caps +gst_padtemplate_get_caps_by_name +<SUBSECTION Standard> GstPadTemplateClass GST_TYPE_PADTEMPLATE GST_PADTEMPLATE @@ -938,6 +954,7 @@ GstTypeFindFunc gst_typefactory_new gst_typefactory_find +gst_typefactory_get_list <SUBSECTION Standard> GST_TYPEFACTORY GST_IS_TYPEFACTORY Index: gstreamer.hierarchy =================================================================== RCS file: /cvsroot/gstreamer/gstreamer/docs/gst/gstreamer.hierarchy,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- gstreamer.hierarchy 2001/10/24 19:55:12 1.19 +++ gstreamer.hierarchy 2001/10/24 21:44:48 1.20 @@ -47,6 +47,7 @@ GstQueue GstTypeFind GstPad + GstPadTemplate GstPluginFeature GstAutoplugFactory GstTypeFactory |