<sect2 id="section-caps-structure">
<title>Dissecting capabilities</title>
<para>
- A pads capabilities are described in a <classname>GstCaps</classname>
+ A pad's capabilities are described in a <classname>GstCaps</classname>
object. Internally, a <ulink type="http"
url="../../gstreamer/html/gstreamer-GstCaps.html"><classname>GstCaps</classname></ulink>
will contain one or more <ulink type="http"
accept vorbis-encoded audio data, with the mime-type
<quote>audio/x-vorbis</quote>. The source pad will be used
to send raw (decoded) audio samples to the next element, with
- a raw audio mime-type (in this case,
- <quote>audio/x-raw-int</quote>) The source pad will also
+ a raw audio mime-type (in this case,
+ <quote>audio/x-raw-float</quote>). The source pad will also
contain properties for the audio samplerate and the amount of
channels, plus some more that you don't need to worry about
for now.
</programlisting>
This will force the data flow between those two elements to
a certain video format, width, height and framerate (or the linking
- will fail if that cannot be achieved in the context of the elments
+ will fail if that cannot be achieved in the context of the elements
involved). Keep in mind that when you use <function>
gst_element_link_filtered ()</function> it will automatically create
a <classname>capsfilter</classname> element for you and insert it into
your bin or pipeline between the two elements you want to connect (this
- is important if you ever want to disconnect those elements).
+ is important if you ever want to disconnect those elements because then
+ you will have to disconnect both elements from the capsfilter instead).
</para>
<para>
In some cases, you will want to create a more elaborate set of
</programlisting>
<para>
See the API references for the full API of
- <classname>GstStructure</classname> and
- <classname>GstCaps</classname>.
+ <ulink type="http"
+ url="&URLAPI;GstStructure.html"><classname>GstStructure</classname></ulink>
+ and <ulink type="http"
+ url="&URLAPI;GstCaps.html"><classname>GstCaps</classname></ulink>.
</para>
</sect2>
</sect1>