fix nonvalidation, now for the png problems !

Original commit message from CVS:
fix nonvalidation, now for the png problems !
This commit is contained in:
Thomas Vander Stichele 2002-12-12 18:03:16 +00:00
parent 41fafb9aec
commit 35a1d78a69
7 changed files with 98 additions and 86 deletions

View file

@ -16,3 +16,7 @@ CSS=base.css
EXTRA_DIST = $(XML) $(FIGS) $(CSS) magic-png magic-pdf EXTRA_DIST = $(XML) $(FIGS) $(CSS) magic-png magic-pdf
include $(srcdir)/../manuals.mak include $(srcdir)/../manuals.mak
check:
xmllint -noout -valid $(MAIN)

View file

@ -132,6 +132,7 @@
<classname>GstType</classname>. The definition of a <classname>GstType</classname>. The definition of a
<classname>GstType</classname> is like: <classname>GstType</classname> is like:
</para> </para>
<para>
<programlisting> <programlisting>
typedef GstCaps (*GstTypeFindFunc) (GstBuffer *buf,gpointer *priv); typedef GstCaps (*GstTypeFindFunc) (GstBuffer *buf,gpointer *priv);
@ -146,6 +147,7 @@ struct _GstType {
GstTypeFindFunc typefindfunc; /* typefind function */ GstTypeFindFunc typefindfunc; /* typefind function */
}; };
</programlisting> </programlisting>
</para>
<para> <para>
All operations on <classname>GstType</classname> occur All operations on <classname>GstType</classname> occur
via their <classname>guint16 id</classname> numbers, with via their <classname>guint16 id</classname> numbers, with
@ -201,10 +203,10 @@ struct _GstType {
<para> <para>
This function will return 0 if the extension was not known. This function will return 0 if the extension was not known.
</para> </para>
</sect2>
<para> <para>
For more information, see <xref linkend="cha-autoplug"/>. For more information, see <xref linkend="cha-autoplug"/>.
</para> </para>
</sect2>
</sect1> </sect1>
<sect1> <sect1>

View file

@ -131,22 +131,22 @@
It has the following object properties: It has the following object properties:
</para> </para>
<itemizedlist> <itemizedlist>
<listitem><filename>"value_float"</filename> <listitem><para><filename>"value_float"</filename>
- the property to set and get if it is a float dparam - the property to set and get if it is a float dparam
</listitem> </para></listitem>
<listitem><filename>"value_int"</filename> <listitem><para><filename>"value_int"</filename>
- the property to set and get if it is an integer dparam - the property to set and get if it is an integer dparam
</listitem> </para></listitem>
<listitem><filename>"value_int64"</filename> <listitem><para><filename>"value_int64"</filename>
- the property to set and get if it is a 64 bit integer dparam - the property to set and get if it is a 64 bit integer dparam
</listitem> </para></listitem>
<listitem><filename>"is_log"</filename> <listitem><para><filename>"is_log"</filename>
- readonly boolean which is TRUE if the param should be displayed on a log scale - readonly boolean which is TRUE if the param should be displayed on a log scale
</listitem> </para></listitem>
<listitem><filename>"is_rate"</filename> <listitem><para><filename>"is_rate"</filename>
- readonly boolean which is TRUE if the value is a proportion of the sample rate. - readonly boolean which is TRUE if the value is a proportion of the sample rate.
For example with a sample rate of 44100, 0.5 would be 22050 Hz and 0.25 would be 11025 Hz. For example with a sample rate of 44100, 0.5 would be 22050 Hz and 0.25 would be 11025 Hz.
</listitem> </para></listitem>
</itemizedlist> </itemizedlist>
</sect2> </sect2>
<sect2> <sect2>
@ -159,16 +159,16 @@
It has the following object properties: It has the following object properties:
</para> </para>
<itemizedlist> <itemizedlist>
<listitem><filename>"update_period"</filename> <listitem><para><filename>"update_period"</filename>
- an int64 value specifying the number nanoseconds between updates. This will be ignored in - an int64 value specifying the number nanoseconds between updates. This will be ignored in
<filename>"synchronous"</filename> mode since the buffer size dictates the update period. <filename>"synchronous"</filename> mode since the buffer size dictates the update period.
</listitem> </para></listitem>
<listitem><filename>"slope_time"</filename> <listitem><para><filename>"slope_time"</filename>
- an int64 value specifying the time period to use in the maximum slope calculation - an int64 value specifying the time period to use in the maximum slope calculation
</listitem> </para></listitem>
<listitem><filename>"slope_delta_float"</filename> <listitem><para><filename>"slope_delta_float"</filename>
- a float specifying the amount a float value can change in the given slope_time. - a float specifying the amount a float value can change in the given slope_time.
</listitem> </para></listitem>
</itemizedlist> </itemizedlist>
<para> <para>
Audible artifacts may not be completely eliminated by using this dparam. The only way to eliminate Audible artifacts may not be completely eliminated by using this dparam. The only way to eliminate

View file

@ -10,6 +10,7 @@
To construct a new thread you will perform something like: To construct a new thread you will perform something like:
</para> </para>
<para>
<programlisting> <programlisting>
GstElement *my_thread; GstElement *my_thread;
@ -29,14 +30,14 @@
gst_element_set_state (GST_ELEMENT (my_thread), GST_STATE_PLAYING); gst_element_set_state (GST_ELEMENT (my_thread), GST_STATE_PLAYING);
</programlisting> </programlisting>
</para>
<para> <para>
The above program will create a thread with two elements in it. As soon The above program will create a thread with two elements in it. As soon
as it is set to the PLAYING state, the thread will start to iterate as it is set to the PLAYING state, the thread will start to iterate
itself. You never need to explicitly iterate a thread. itself. You never need to explicitly iterate a thread.
</para> </para>
<sect2> <sect1>
<title>Constraints placed on the pipeline by the GstThread</title> <title>Constraints placed on the pipeline by the GstThread</title>
<para> <para>
Within the pipeline, everything is the same as in any other bin. The Within the pipeline, everything is the same as in any other bin. The
@ -50,8 +51,8 @@
itself, but it needs to be present on one side or the other to enable itself, but it needs to be present on one side or the other to enable
inter-thread communication. inter-thread communication.
</para> </para>
</sect2> </sect1>
<sect2> <sect1>
<title>When would you want to use a thread?</title> <title>When would you want to use a thread?</title>
<para> <para>
If you are writing a GUI application, making the top-level bin a thread will make your GUI If you are writing a GUI application, making the top-level bin a thread will make your GUI
@ -61,7 +62,6 @@
the pipeline, which (for example) could cause pops in the output of the sound card, if it is the pipeline, which (for example) could cause pops in the output of the sound card, if it is
an audio pipeline. an audio pipeline.
</para> </para>
</sect2>
<para> <para>
A thread can be visualised as below A thread can be visualised as below
</para> </para>
@ -78,6 +78,7 @@
As an example we show the helloworld program using a thread. As an example we show the helloworld program using a thread.
</para> </para>
<para>
<programlisting> <programlisting>
/* example-begin threads.c */ /* example-begin threads.c */
#include &lt;gst/gst.h&gt; #include &lt;gst/gst.h&gt;
@ -152,5 +153,6 @@ main (int argc, char *argv[])
} }
/* example-end threads.c */ /* example-end threads.c */
</programlisting> </programlisting>
</para>
</sect1>
</chapter> </chapter>

View file

@ -131,22 +131,22 @@
It has the following object properties: It has the following object properties:
</para> </para>
<itemizedlist> <itemizedlist>
<listitem><filename>"value_float"</filename> <listitem><para><filename>"value_float"</filename>
- the property to set and get if it is a float dparam - the property to set and get if it is a float dparam
</listitem> </para></listitem>
<listitem><filename>"value_int"</filename> <listitem><para><filename>"value_int"</filename>
- the property to set and get if it is an integer dparam - the property to set and get if it is an integer dparam
</listitem> </para></listitem>
<listitem><filename>"value_int64"</filename> <listitem><para><filename>"value_int64"</filename>
- the property to set and get if it is a 64 bit integer dparam - the property to set and get if it is a 64 bit integer dparam
</listitem> </para></listitem>
<listitem><filename>"is_log"</filename> <listitem><para><filename>"is_log"</filename>
- readonly boolean which is TRUE if the param should be displayed on a log scale - readonly boolean which is TRUE if the param should be displayed on a log scale
</listitem> </para></listitem>
<listitem><filename>"is_rate"</filename> <listitem><para><filename>"is_rate"</filename>
- readonly boolean which is TRUE if the value is a proportion of the sample rate. - readonly boolean which is TRUE if the value is a proportion of the sample rate.
For example with a sample rate of 44100, 0.5 would be 22050 Hz and 0.25 would be 11025 Hz. For example with a sample rate of 44100, 0.5 would be 22050 Hz and 0.25 would be 11025 Hz.
</listitem> </para></listitem>
</itemizedlist> </itemizedlist>
</sect2> </sect2>
<sect2> <sect2>
@ -159,16 +159,16 @@
It has the following object properties: It has the following object properties:
</para> </para>
<itemizedlist> <itemizedlist>
<listitem><filename>"update_period"</filename> <listitem><para><filename>"update_period"</filename>
- an int64 value specifying the number nanoseconds between updates. This will be ignored in - an int64 value specifying the number nanoseconds between updates. This will be ignored in
<filename>"synchronous"</filename> mode since the buffer size dictates the update period. <filename>"synchronous"</filename> mode since the buffer size dictates the update period.
</listitem> </para></listitem>
<listitem><filename>"slope_time"</filename> <listitem><para><filename>"slope_time"</filename>
- an int64 value specifying the time period to use in the maximum slope calculation - an int64 value specifying the time period to use in the maximum slope calculation
</listitem> </para></listitem>
<listitem><filename>"slope_delta_float"</filename> <listitem><para><filename>"slope_delta_float"</filename>
- a float specifying the amount a float value can change in the given slope_time. - a float specifying the amount a float value can change in the given slope_time.
</listitem> </para></listitem>
</itemizedlist> </itemizedlist>
<para> <para>
Audible artifacts may not be completely eliminated by using this dparam. The only way to eliminate Audible artifacts may not be completely eliminated by using this dparam. The only way to eliminate

View file

@ -132,6 +132,7 @@
<classname>GstType</classname>. The definition of a <classname>GstType</classname>. The definition of a
<classname>GstType</classname> is like: <classname>GstType</classname> is like:
</para> </para>
<para>
<programlisting> <programlisting>
typedef GstCaps (*GstTypeFindFunc) (GstBuffer *buf,gpointer *priv); typedef GstCaps (*GstTypeFindFunc) (GstBuffer *buf,gpointer *priv);
@ -146,6 +147,7 @@ struct _GstType {
GstTypeFindFunc typefindfunc; /* typefind function */ GstTypeFindFunc typefindfunc; /* typefind function */
}; };
</programlisting> </programlisting>
</para>
<para> <para>
All operations on <classname>GstType</classname> occur All operations on <classname>GstType</classname> occur
via their <classname>guint16 id</classname> numbers, with via their <classname>guint16 id</classname> numbers, with
@ -201,10 +203,10 @@ struct _GstType {
<para> <para>
This function will return 0 if the extension was not known. This function will return 0 if the extension was not known.
</para> </para>
</sect2>
<para> <para>
For more information, see <xref linkend="cha-autoplug"/>. For more information, see <xref linkend="cha-autoplug"/>.
</para> </para>
</sect2>
</sect1> </sect1>
<sect1> <sect1>

View file

@ -10,6 +10,7 @@
To construct a new thread you will perform something like: To construct a new thread you will perform something like:
</para> </para>
<para>
<programlisting> <programlisting>
GstElement *my_thread; GstElement *my_thread;
@ -29,14 +30,14 @@
gst_element_set_state (GST_ELEMENT (my_thread), GST_STATE_PLAYING); gst_element_set_state (GST_ELEMENT (my_thread), GST_STATE_PLAYING);
</programlisting> </programlisting>
</para>
<para> <para>
The above program will create a thread with two elements in it. As soon The above program will create a thread with two elements in it. As soon
as it is set to the PLAYING state, the thread will start to iterate as it is set to the PLAYING state, the thread will start to iterate
itself. You never need to explicitly iterate a thread. itself. You never need to explicitly iterate a thread.
</para> </para>
<sect2> <sect1>
<title>Constraints placed on the pipeline by the GstThread</title> <title>Constraints placed on the pipeline by the GstThread</title>
<para> <para>
Within the pipeline, everything is the same as in any other bin. The Within the pipeline, everything is the same as in any other bin. The
@ -50,8 +51,8 @@
itself, but it needs to be present on one side or the other to enable itself, but it needs to be present on one side or the other to enable
inter-thread communication. inter-thread communication.
</para> </para>
</sect2> </sect1>
<sect2> <sect1>
<title>When would you want to use a thread?</title> <title>When would you want to use a thread?</title>
<para> <para>
If you are writing a GUI application, making the top-level bin a thread will make your GUI If you are writing a GUI application, making the top-level bin a thread will make your GUI
@ -61,7 +62,6 @@
the pipeline, which (for example) could cause pops in the output of the sound card, if it is the pipeline, which (for example) could cause pops in the output of the sound card, if it is
an audio pipeline. an audio pipeline.
</para> </para>
</sect2>
<para> <para>
A thread can be visualised as below A thread can be visualised as below
</para> </para>
@ -78,6 +78,7 @@
As an example we show the helloworld program using a thread. As an example we show the helloworld program using a thread.
</para> </para>
<para>
<programlisting> <programlisting>
/* example-begin threads.c */ /* example-begin threads.c */
#include &lt;gst/gst.h&gt; #include &lt;gst/gst.h&gt;
@ -152,5 +153,6 @@ main (int argc, char *argv[])
} }
/* example-end threads.c */ /* example-end threads.c */
</programlisting> </programlisting>
</para>
</sect1>
</chapter> </chapter>