mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
Some miscellaneous small changes.
Original commit message from CVS: Some miscellaneous small changes.
This commit is contained in:
parent
12876abf04
commit
bd08cdd276
3 changed files with 22 additions and 16 deletions
|
@ -1,11 +1,14 @@
|
||||||
<chapter id="cha-plugins">
|
<chapter id="cha-plugins">
|
||||||
<title>Plugins</title>
|
<title>Plugins</title>
|
||||||
<para>
|
<para>
|
||||||
Extensions to GStreamer can be made using a plugin mechanism. This is
|
Extensions to &GStreamer; can be made using a plugin mechanism. This is
|
||||||
used extensively in GStreamer even if only the standard package is
|
used extensively in &GStreamer; even if only the standard package is
|
||||||
being used: a few very basic functions reside in the core library, and
|
being used: a few very basic functions reside in the core library, and
|
||||||
all others are in a standard set of plugins.
|
all others are in a standard set of plugins.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
Plugins can extend GStreamer in several
|
||||||
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Plugins are only loaded when needed: a plugin registry is used to
|
Plugins are only loaded when needed: a plugin registry is used to
|
||||||
store the details of the plugins so that it is not neccessary to load
|
store the details of the plugins so that it is not neccessary to load
|
||||||
|
@ -16,24 +19,24 @@
|
||||||
Manual</emphasis> for more details.
|
Manual</emphasis> for more details.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
User extensions to GStreamer can be installed in the main plugin
|
User extensions to &GStreamer; can be installed in the main plugin
|
||||||
directory, and will immediately be available for use in applications.
|
directory, and will immediately be available for use in applications.
|
||||||
<emphasis>gstreamer-register</emphasis> should be run to update
|
<emphasis>gstreamer-register</emphasis> should be run to update
|
||||||
the repository: but the system will work correctly even if it hasn't
|
the repository: but the system should work correctly even if it hasn't
|
||||||
been - it will just load the correct plugin faster.
|
been - it will just take longer to load the correct plugin.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
User specific plugin directories and registries will be available in future
|
User specific plugin directories and registries will be available in future
|
||||||
versions of GStreamer.
|
versions of &GStreamer;.
|
||||||
</para>
|
</para>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
<chapter id="cha-elements">
|
<chapter id="cha-elements">
|
||||||
<title>Elements</title>
|
<title>Elements</title>
|
||||||
<para>
|
<para>
|
||||||
Elements are at the core of GStreamer. Without elements, GStreamer is just
|
Elements are at the core of &GStreamer;. Without elements, &GStreamer; is
|
||||||
a bunch of pipe fittings with nothing to connect. A large number of
|
just a bunch of pipe fittings with nothing to connect. A large number of
|
||||||
elements (filters, sources and sinks) ship with GStreamer, but extra
|
elements (filters, sources and sinks) ship with &GStreamer;, but extra
|
||||||
elements can also be written.
|
elements can also be written.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
|
@ -42,7 +45,7 @@
|
||||||
FilterFactory, where the only code that need be written is the actual
|
FilterFactory, where the only code that need be written is the actual
|
||||||
filter code. A more complex filter, or a source or sink, will need to be
|
filter code. A more complex filter, or a source or sink, will need to be
|
||||||
written out fully for complete access to the features and performance
|
written out fully for complete access to the features and performance
|
||||||
possible with GStreamer.
|
possible with &GStreamer;.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The implementation of a new element will be contained in a plugin:
|
The implementation of a new element will be contained in a plugin:
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
<programlisting>
|
<programlisting>
|
||||||
/* Definition of structure storing data for this element. */
|
/* Definition of structure storing data for this element. */
|
||||||
typedef struct _GstExample GstExample;
|
typedef struct _GstExample GstExample;
|
||||||
|
|
||||||
struct _GstExample {
|
struct _GstExample {
|
||||||
GstElement element;
|
GstElement element;
|
||||||
|
|
||||||
|
@ -123,7 +124,7 @@
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 id="sect-idfilter-fns">
|
<sect1 id="sect-idfilter-chainfn">
|
||||||
<title>The chain function</title>
|
<title>The chain function</title>
|
||||||
<para>
|
<para>
|
||||||
</para>
|
</para>
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
<!ENTITY STATEMANAGE SYSTEM ".sgml">
|
<!ENTITY STATEMANAGE SYSTEM ".sgml">
|
||||||
|
|
||||||
<!ENTITY CHECKLIST SYSTEM ".sgml">
|
<!ENTITY CHECKLIST SYSTEM ".sgml">
|
||||||
|
|
||||||
|
<!ENTITY GStreamer "<application>GStreamer</application>">
|
||||||
]>
|
]>
|
||||||
|
|
||||||
<book id="index">
|
<book id="index">
|
||||||
|
@ -30,22 +32,22 @@
|
||||||
<part id="introduction"><title>Introduction</title>
|
<part id="introduction"><title>Introduction</title>
|
||||||
<partintro>
|
<partintro>
|
||||||
<para>
|
<para>
|
||||||
<application>GStreamer</application> is a framework for creating
|
&GStreamer; is a framework for creating
|
||||||
streaming media applications. It is extremely powerful and versatile,
|
streaming media applications. It is extremely powerful and versatile,
|
||||||
and this versatility stems in part from its modularity, and its ability
|
and this versatility stems in part from its modularity, and its ability
|
||||||
to incorporate new modules seamlessly into its framework.
|
to incorporate new modules seamlessly into its framework.
|
||||||
This document describes how to extend the capabilities of
|
This document describes how to extend the capabilities of
|
||||||
<application>GStreamer</application> by creating new plugins.
|
&GStreamer; by creating new plugins.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
It first describes the concepts required and the ways in which
|
It first describes the concepts required and the ways in which
|
||||||
<application>GStreamer</application> can be extended. It then goes
|
&GStreamer; can be extended. It then goes
|
||||||
through a worked example of how to write a simple filter (for data
|
through a worked example of how to write a simple filter (for data
|
||||||
processing), and how to test and debug it. More advanced concepts are
|
processing), and how to test and debug it. More advanced concepts are
|
||||||
then introduced, with worked examples of each. Next, writing source
|
then introduced, with worked examples of each. Next, writing source
|
||||||
and sink elements (for performing input and output) is discussed.
|
and sink elements (for performing input and output) is discussed.
|
||||||
Finally, checklists of things to be sure to do when extending
|
Finally, checklists of things to be sure to do when extending
|
||||||
<application>GStreamer</application> are presented.
|
&GStreamer; are presented.
|
||||||
</para>
|
</para>
|
||||||
</partintro>
|
</partintro>
|
||||||
|
|
||||||
|
@ -59,7 +61,7 @@
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
This section introduces the basic concepts required to understand the
|
This section introduces the basic concepts required to understand the
|
||||||
issues involved in extending <application>GStreamer</application>
|
issues involved in extending &GStreamer;
|
||||||
|
|
||||||
</para>
|
</para>
|
||||||
</partintro>
|
</partintro>
|
||||||
|
|
Loading…
Reference in a new issue