SUBDIRS = $(SUBDIRS_DOCS) $(SUBDIRS_PLUGINS)
DIST_SUBDIRS = faq manual pwg gst libs plugins xsl
-EXTRA_DIST = slides manuals.mak htmlinstall.mak image-png image-pdf image-eps
+EXTRA_DIST = \
+ slides manuals.mak htmlinstall.mak \
+ image-png image-pdf image-eps version.entities.in
dist-hook:
$(RM) -rf $(distdir)/random/CVS
one-file program, pass the --cflags and --libs arguments to pkg-config.
For example:
<programlisting>
-$ gcc `pkg-config --cflags --libs gstreamer-0.7` -o myprog myprog.c
+$ gcc `pkg-config --cflags --libs gstreamer-&GST_MAJORMINOR;` -o myprog myprog.c
</programlisting>
would be sufficient for a gstreamer-only program.
If (for example) your app also used GTK+ 2.0, you could use
<programlisting>
-$ gcc `pkg-config --cflags --libs gstreamer-0.7 gtk+-2.0` -o myprog myprog.c
+$ gcc `pkg-config --cflags --libs gstreamer-&GST_MAJORMINOR; gtk+-2.0` -o myprog myprog.c
</programlisting>
Those are back-ticks (on the same key with the tilde on US keyboards),
not single quotes.
to a usable pipeline.
</para>
<para>
-To link against gstgconf, use pkg-config to query the gstreamer-libs-0.7.pc file
+To link against gstgconf, use pkg-config to query the gstreamer-libs-&GST_MAJORMINOR;.pc file
for link flags, and add -lgstgconf to the link flags.
This fragment of configure.ac shows how to use pkg-config to get the LIBS:
</para>
<programlisting>
dnl check for GStreamer helper libs
-PKG_CHECK_MODULES(GST_HELPLIBS, gstreamer-libs-0.7 >= $GSTREAMER_REQ,,exit)
+PKG_CHECK_MODULES(GST_HELPLIBS, gstreamer-libs-&GST_MAJORMINOR; >= $GSTREAMER_REQ,,exit)
AC_SUBST(GST_HELPLIBS_LIBS)
AC_SUBST(GST_HELPLIBS_CFLAGS)
</programlisting>
<!ENTITY % image-entities SYSTEM "image.entities">
%image-entities;
+<!ENTITY % version-entities SYSTEM "version.entities">
+%version-entities;
<!ENTITY START SYSTEM "start.xml">
<!ENTITY GENERAL SYSTEM "general.xml">
@Returns:
-<!-- ##### MACRO gst_caps_has_property ##### -->
+<!-- ##### FUNCTION gst_caps_has_property ##### -->
<para>
Check if the GstCaps has a property with the given name
</para>
@caps: the caps to query
@name: the name of the property
+@Returns:
-<!-- ##### MACRO gst_caps_has_fixed_property ##### -->
+<!-- ##### FUNCTION gst_caps_has_fixed_property ##### -->
<para>
Check if the GstCaps has a fixed property with the given name
</para>
@caps: the caps to query
@name: the name of the property
+@Returns:
-<!-- ##### MACRO gst_caps_has_property_typed ##### -->
+<!-- ##### FUNCTION gst_caps_has_property_typed ##### -->
<para>
Check if the GstCaps has a property with the given type
</para>
@caps: the caps to query
@name: the name of the property
@type:
+@Returns:
<!-- ##### FUNCTION gst_caps_normalize ##### -->
@Returns:
-<!-- ##### FUNCTION gst_element_factory_set_rank ##### -->
+<!-- ##### MACRO gst_element_factory_set_rank ##### -->
<para>
</para>
@GST_EVENT_TS_OFFSET: an event to set the time offset on buffers
@GST_EVENT_INTERRUPT: mainly used by _get based elements when they were interrupted
while waiting for a buffer.
+@GST_EVENT_NAVIGATION:
<!-- ##### MACRO GST_EVENT_TYPE ##### -->
<para>
@getcapsfunc:
@direction:
@linkfunc:
+@unlinkfunc:
@peer:
@sched_private:
@chainfunc:
@loaded:
@plugins:
@paths:
-@dummy:
<!-- ##### FUNCTION gst_registry_load ##### -->
<para>
performed by a plugin.
</para>
-@buf: the buffer with media on which to perform the typefind
+@bs:
@priv: private; don't touch
@Returns: A #GstCaps structure describing the type or NULL if the
type was not recognized by this function;
+<!-- # Unused Parameters # -->
+@buf: the buffer with media on which to perform the typefind
<!-- ##### FUNCTION gst_type_factory_new ##### -->
</para>
+@:
+@:
+@:
+
@gstxml: the object which received the signal.
@arg1:
@arg2:
</para>
-@:
-@:
-@:
+@gstxml: the object which received the signal.
+@arg1:
+@arg2:
To compile the helloworld example, use:
</para>
<programlisting>
- gcc -Wall `pkg-config gstreamer-0.7 --cflags --libs` helloworld.c \
+ gcc -Wall `pkg-config gstreamer-&GST_MAJORMINOR; --cflags --libs` helloworld.c \
-o helloworld
</programlisting>
<para>
To compile the helloworld example, use:
</para>
<programlisting>
- gcc -Wall `pkg-config gstreamer-0.7 --cflags --libs` helloworld.c \
+ gcc -Wall `pkg-config gstreamer-&GST_MAJORMINOR; --cflags --libs` helloworld.c \
-o helloworld
</programlisting>
<para>
To compile the helloworld2 example, use:
</para>
<programlisting>
- gcc -Wall `pkg-config gstreamer-0.7 --cflags --libs` helloworld2.c \
+ gcc -Wall `pkg-config gstreamer-&GST_MAJORMINOR; --cflags --libs` helloworld2.c \
-o helloworld2
</programlisting>
<para>
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY % image-entities SYSTEM "image.entities">
%image-entities;
+<!ENTITY % version-entities SYSTEM "version.entities">
+%version-entities;
<!ENTITY INTRO SYSTEM "intro.xml">
<!ENTITY MOTIVATION SYSTEM "motivation.xml">
@-mkdir -p $(BUILDDIR)
@for a in $(XML); do cp $(srcdir)/$$a $(BUILDDIR); done
@for a in $(CSS); do cp $(srcdir)/$$a $(BUILDDIR); done
+ @cp $(srcdir)/../version.entities $(BUILDDIR)
html/index.html: $(BUILDDIR)/$(MAIN) $(PNG_BUILT) $(FIG_SRC)
@echo "*** Generating HTML output ***"