~sipe-collab/sipe-collab/gstreamer-plugins-base

« back to all changes in this revision

Viewing changes to docs/libs/html/gst-plugins-base-libs-gstpbutilsdescriptions.html

  • Committer: Sebastian Dröge
  • Date: 2014-04-19 13:47:47 UTC
  • mfrom: (1.1.23)
  • Revision ID: git-v1:d06393f82dba0d5f13ec2e66275d75cf8178fe5c
Merge tag 'upstream/1.2.4'

Upstream version 1.2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>gstpbutilsdescriptions</title>
 
5
<title>GStreamer Base Plugins 1.0 Library Reference Manual: gstpbutilsdescriptions</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
8
8
<link rel="up" href="gstreamer-base-utils.html" title="Base Utils Library">
9
9
<link rel="prev" href="gst-plugins-base-libs-gstpbutilscodecutils.html" title="gstpbutilscodecutils">
10
10
<link rel="next" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html" title="gstpbutilsmissingplugins">
11
 
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
 
<tr valign="middle">
17
 
<td><a accesskey="p" href="gst-plugins-base-libs-gstpbutilscodecutils.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
 
<td><a accesskey="u" href="gstreamer-base-utils.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
 
<th width="100%" align="center">GStreamer Base Plugins 1.0 Library Reference Manual</th>
21
 
<td><a accesskey="n" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
 
</tr>
23
 
<tr><td colspan="5" class="shortcuts">
24
 
<a href="#gst-plugins-base-libs-gstpbutilsdescriptions.synopsis" class="shortcut">Top</a>
25
 
                   | 
26
 
                  <a href="#gst-plugins-base-libs-gstpbutilsdescriptions.description" class="shortcut">Description</a>
27
 
</td></tr>
28
 
</table>
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
 
16
<td width="100%" align="left" class="shortcuts">
 
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
 
18
                  <a href="#gst-plugins-base-libs-gstpbutilsdescriptions.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
 
19
                  <a href="#gst-plugins-base-libs-gstpbutilsdescriptions.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
 
20
</td>
 
21
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
 
22
<td><a accesskey="u" href="gstreamer-base-utils.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
 
23
<td><a accesskey="p" href="gst-plugins-base-libs-gstpbutilscodecutils.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
 
24
<td><a accesskey="n" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
 
25
</tr></table>
29
26
<div class="refentry">
30
27
<a name="gst-plugins-base-libs-gstpbutilsdescriptions"></a><div class="titlepage"></div>
31
28
<div class="refnamediv"><table width="100%"><tr>
34
31
<p>gstpbutilsdescriptions — Provides human-readable descriptions for caps/codecs
35
32
and encoder, decoder, URI source and URI sink elements</p>
36
33
</td>
37
 
<td valign="top" align="right"></td>
 
34
<td class="gallery_image" valign="top" align="right"></td>
38
35
</tr></table></div>
39
 
<div class="refsynopsisdiv">
40
 
<a name="gst-plugins-base-libs-gstpbutilsdescriptions.synopsis"></a><h2>Synopsis</h2>
41
 
<pre class="synopsis">
42
 
#include &lt;gst/pbutils/descriptions.h&gt;
43
 
 
44
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-source-description" title="gst_pb_utils_get_source_description ()">gst_pb_utils_get_source_description</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>);
45
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-sink-description" title="gst_pb_utils_get_sink_description ()">gst_pb_utils_get_sink_description</a>   (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>);
46
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-decoder-description" title="gst_pb_utils_get_decoder_description ()">gst_pb_utils_get_decoder_description</a>
47
 
                                                        (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);
48
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-encoder-description" title="gst_pb_utils_get_encoder_description ()">gst_pb_utils_get_encoder_description</a>
49
 
                                                        (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);
50
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-element-description" title="gst_pb_utils_get_element_description ()">gst_pb_utils_get_element_description</a>
51
 
                                                        (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *factory_name</code></em>);
52
 
 
53
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-add-codec-description-to-tag-list" title="gst_pb_utils_add_codec_description_to_tag_list ()">gst_pb_utils_add_codec_description_to_tag_list</a>
54
 
                                                        (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a> *taglist</code></em>,
55
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *codec_tag</code></em>,
56
 
                                                         <em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);
57
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-codec-description" title="gst_pb_utils_get_codec_description ()">gst_pb_utils_get_codec_description</a>  (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);
 
36
<div class="refsect1">
 
37
<a name="gst-plugins-base-libs-gstpbutilsdescriptions.functions"></a><h2>Functions</h2>
 
38
<div class="informaltable"><table width="100%" border="0">
 
39
<colgroup>
 
40
<col width="150px" class="functions_return">
 
41
<col class="functions_name">
 
42
</colgroup>
 
43
<tbody>
 
44
<tr>
 
45
<td class="function_type">
 
46
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
47
</td>
 
48
<td class="function_name">
 
49
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-source-description" title="gst_pb_utils_get_source_description ()">gst_pb_utils_get_source_description</a> <span class="c_punctuation">()</span>
 
50
</td>
 
51
</tr>
 
52
<tr>
 
53
<td class="function_type">
 
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
55
</td>
 
56
<td class="function_name">
 
57
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-sink-description" title="gst_pb_utils_get_sink_description ()">gst_pb_utils_get_sink_description</a> <span class="c_punctuation">()</span>
 
58
</td>
 
59
</tr>
 
60
<tr>
 
61
<td class="function_type">
 
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
63
</td>
 
64
<td class="function_name">
 
65
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-decoder-description" title="gst_pb_utils_get_decoder_description ()">gst_pb_utils_get_decoder_description</a> <span class="c_punctuation">()</span>
 
66
</td>
 
67
</tr>
 
68
<tr>
 
69
<td class="function_type">
 
70
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
71
</td>
 
72
<td class="function_name">
 
73
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-encoder-description" title="gst_pb_utils_get_encoder_description ()">gst_pb_utils_get_encoder_description</a> <span class="c_punctuation">()</span>
 
74
</td>
 
75
</tr>
 
76
<tr>
 
77
<td class="function_type">
 
78
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
79
</td>
 
80
<td class="function_name">
 
81
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-element-description" title="gst_pb_utils_get_element_description ()">gst_pb_utils_get_element_description</a> <span class="c_punctuation">()</span>
 
82
</td>
 
83
</tr>
 
84
<tr>
 
85
<td class="function_type">
 
86
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
87
</td>
 
88
<td class="function_name">
 
89
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-add-codec-description-to-tag-list" title="gst_pb_utils_add_codec_description_to_tag_list ()">gst_pb_utils_add_codec_description_to_tag_list</a> <span class="c_punctuation">()</span>
 
90
</td>
 
91
</tr>
 
92
<tr>
 
93
<td class="function_type">
 
94
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
95
</td>
 
96
<td class="function_name">
 
97
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-get-codec-description" title="gst_pb_utils_get_codec_description ()">gst_pb_utils_get_codec_description</a> <span class="c_punctuation">()</span>
 
98
</td>
 
99
</tr>
 
100
</tbody>
 
101
</table></div>
 
102
</div>
 
103
<div class="refsect1">
 
104
<a name="gst-plugins-base-libs-gstpbutilsdescriptions.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
105
<pre class="screen">
 
106
</pre>
 
107
</div>
 
108
<div class="refsect1">
 
109
<a name="gst-plugins-base-libs-gstpbutilsdescriptions.includes"></a><h2>Includes</h2>
 
110
<pre class="synopsis">#include &lt;gst/pbutils/descriptions.h&gt;
58
111
</pre>
59
112
</div>
60
113
<div class="refsect1">
61
114
<a name="gst-plugins-base-libs-gstpbutilsdescriptions.description"></a><h2>Description</h2>
62
 
<p>
63
 
</p>
64
115
<div class="refsect2">
65
 
<a name="id-1.2.13.6.4.2.1"></a><p>
 
116
<a name="id-1.2.13.6.6.2"></a><p>
66
117
The above functions provide human-readable strings for media formats
67
118
and decoder/demuxer/depayloader/encoder/muxer/payloader elements for use
68
119
in error dialogs or other messages shown to users.
69
120
</p>
70
121
<p>
71
 
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-add-codec-description-to-tag-list" title="gst_pb_utils_add_codec_description_to_tag_list ()"><code class="function">gst_pb_utils_add_codec_description_to_tag_list()</code></a> is a utility function
 
122
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-add-codec-description-to-tag-list" title="gst_pb_utils_add_codec_description_to_tag_list ()"><code class="function">gst_pb_utils_add_codec_description_to_tag_list()</code></a> is a utility function
72
123
for demuxer and decoder elements to add audio/video codec tags from a
73
124
given (fixed) <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>.
74
125
</p>
75
126
</div>
76
 
<p>
77
 
</p>
78
127
</div>
79
128
<div class="refsect1">
80
 
<a name="gst-plugins-base-libs-gstpbutilsdescriptions.details"></a><h2>Details</h2>
81
 
<div class="refsect2">
82
 
<a name="gst-pb-utils-get-source-description"></a><h3>gst_pb_utils_get_source_description ()</h3>
83
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gst_pb_utils_get_source_description (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>);</pre>
84
 
<p>
85
 
Returns a localised string describing a source element handling the protocol
86
 
specified in <em class="parameter"><code>protocol</code></em>, for use in error dialogs or other messages to be
87
 
seen by the user. Should never return NULL unless <em class="parameter"><code>protocol</code></em> is invalid.
88
 
</p>
89
 
<p>
90
 
This function is mainly for internal use, applications would typically
91
 
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
92
 
a missing feature from a missing-plugin message.
93
 
</p>
94
 
<div class="variablelist"><table border="0" class="variablelist">
95
 
<colgroup>
96
 
<col align="left" valign="top">
97
 
<col>
98
 
</colgroup>
99
 
<tbody>
100
 
<tr>
101
 
<td><p><span class="term"><em class="parameter"><code>protocol</code></em> :</span></p></td>
102
 
<td>the protocol the source element needs to handle, e.g. "http"</td>
103
 
</tr>
104
 
<tr>
105
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
106
 
<td>a newly-allocated description string, or NULL on error. Free
107
 
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</td>
108
 
</tr>
109
 
</tbody>
110
 
</table></div>
111
 
</div>
112
 
<hr>
113
 
<div class="refsect2">
114
 
<a name="gst-pb-utils-get-sink-description"></a><h3>gst_pb_utils_get_sink_description ()</h3>
115
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gst_pb_utils_get_sink_description   (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>);</pre>
116
 
<p>
117
 
Returns a localised string describing a sink element handling the protocol
118
 
specified in <em class="parameter"><code>protocol</code></em>, for use in error dialogs or other messages to be
119
 
seen by the user. Should never return NULL unless <em class="parameter"><code>protocol</code></em> is invalid.
120
 
</p>
121
 
<p>
122
 
This function is mainly for internal use, applications would typically
123
 
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
124
 
a missing feature from a missing-plugin message.
125
 
</p>
126
 
<div class="variablelist"><table border="0" class="variablelist">
127
 
<colgroup>
128
 
<col align="left" valign="top">
129
 
<col>
130
 
</colgroup>
131
 
<tbody>
132
 
<tr>
133
 
<td><p><span class="term"><em class="parameter"><code>protocol</code></em> :</span></p></td>
134
 
<td>the protocol the sink element needs to handle, e.g. "http"</td>
135
 
</tr>
136
 
<tr>
137
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
138
 
<td>a newly-allocated description string, or NULL on error. Free
139
 
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</td>
140
 
</tr>
141
 
</tbody>
142
 
</table></div>
143
 
</div>
144
 
<hr>
145
 
<div class="refsect2">
146
 
<a name="gst-pb-utils-get-decoder-description"></a><h3>gst_pb_utils_get_decoder_description ()</h3>
147
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gst_pb_utils_get_decoder_description
148
 
                                                        (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
149
 
<p>
150
 
Returns a localised string describing an decoder for the format specified
151
 
in <em class="parameter"><code>caps</code></em>, for use in error dialogs or other messages to be seen by the user.
152
 
Should never return NULL unless <em class="parameter"><code>factory_name</code></em> or <em class="parameter"><code>caps</code></em> are invalid.
153
 
</p>
154
 
<p>
155
 
This function is mainly for internal use, applications would typically
156
 
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
157
 
a missing feature from a missing-plugin message.
158
 
</p>
159
 
<div class="variablelist"><table border="0" class="variablelist">
160
 
<colgroup>
161
 
<col align="left" valign="top">
162
 
<col>
163
 
</colgroup>
164
 
<tbody>
165
 
<tr>
166
 
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
167
 
<td>the (fixed) <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> for which an decoder description is needed</td>
168
 
</tr>
169
 
<tr>
170
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
171
 
<td>a newly-allocated description string, or NULL on error. Free
172
 
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</td>
173
 
</tr>
174
 
</tbody>
175
 
</table></div>
176
 
</div>
177
 
<hr>
178
 
<div class="refsect2">
179
 
<a name="gst-pb-utils-get-encoder-description"></a><h3>gst_pb_utils_get_encoder_description ()</h3>
180
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gst_pb_utils_get_encoder_description
181
 
                                                        (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
182
 
<p>
183
 
Returns a localised string describing an encoder for the format specified
184
 
in <em class="parameter"><code>caps</code></em>, for use in error dialogs or other messages to be seen by the user.
185
 
Should never return NULL unless <em class="parameter"><code>factory_name</code></em> or <em class="parameter"><code>caps</code></em> are invalid.
186
 
</p>
187
 
<p>
188
 
This function is mainly for internal use, applications would typically
189
 
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
190
 
a missing feature from a missing-plugin message.
191
 
</p>
192
 
<div class="variablelist"><table border="0" class="variablelist">
193
 
<colgroup>
194
 
<col align="left" valign="top">
195
 
<col>
196
 
</colgroup>
197
 
<tbody>
198
 
<tr>
199
 
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
200
 
<td>the (fixed) <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> for which an encoder description is needed</td>
201
 
</tr>
202
 
<tr>
203
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
204
 
<td>a newly-allocated description string, or NULL on error. Free
205
 
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</td>
206
 
</tr>
207
 
</tbody>
208
 
</table></div>
209
 
</div>
210
 
<hr>
211
 
<div class="refsect2">
212
 
<a name="gst-pb-utils-get-element-description"></a><h3>gst_pb_utils_get_element_description ()</h3>
213
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gst_pb_utils_get_element_description
214
 
                                                        (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *factory_name</code></em>);</pre>
215
 
<p>
216
 
Returns a localised string describing the given element, for use in
 
129
<a name="gst-plugins-base-libs-gstpbutilsdescriptions.functions_details"></a><h2>Functions</h2>
 
130
<div class="refsect2">
 
131
<a name="gst-pb-utils-get-source-description"></a><h3>gst_pb_utils_get_source_description ()</h3>
 
132
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
133
gst_pb_utils_get_source_description (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>);</pre>
 
134
<p>Returns a localised string describing a source element handling the protocol
 
135
specified in <em class="parameter"><code>protocol</code></em>
 
136
, for use in error dialogs or other messages to be
 
137
seen by the user. Should never return NULL unless <em class="parameter"><code>protocol</code></em>
 
138
 is invalid.</p>
 
139
<p>This function is mainly for internal use, applications would typically
 
140
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
 
141
a missing feature from a missing-plugin message.</p>
 
142
<div class="refsect3">
 
143
<a name="id-1.2.13.6.7.2.6"></a><h4>Parameters</h4>
 
144
<div class="informaltable"><table width="100%" border="0">
 
145
<colgroup>
 
146
<col width="150px" class="parameters_name">
 
147
<col class="parameters_description">
 
148
<col width="200px" class="parameters_annotations">
 
149
</colgroup>
 
150
<tbody><tr>
 
151
<td class="parameter_name"><p>protocol</p></td>
 
152
<td class="parameter_description"><p>the protocol the source element needs to handle, e.g. "http"</p></td>
 
153
<td class="parameter_annotations"> </td>
 
154
</tr></tbody>
 
155
</table></div>
 
156
</div>
 
157
<div class="refsect3">
 
158
<a name="id-1.2.13.6.7.2.7"></a><h4>Returns</h4>
 
159
<p> a newly-allocated description string, or NULL on error. Free
 
160
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</p>
 
161
<p></p>
 
162
</div>
 
163
</div>
 
164
<hr>
 
165
<div class="refsect2">
 
166
<a name="gst-pb-utils-get-sink-description"></a><h3>gst_pb_utils_get_sink_description ()</h3>
 
167
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
168
gst_pb_utils_get_sink_description (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *protocol</code></em>);</pre>
 
169
<p>Returns a localised string describing a sink element handling the protocol
 
170
specified in <em class="parameter"><code>protocol</code></em>
 
171
, for use in error dialogs or other messages to be
 
172
seen by the user. Should never return NULL unless <em class="parameter"><code>protocol</code></em>
 
173
 is invalid.</p>
 
174
<p>This function is mainly for internal use, applications would typically
 
175
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
 
176
a missing feature from a missing-plugin message.</p>
 
177
<div class="refsect3">
 
178
<a name="id-1.2.13.6.7.3.6"></a><h4>Parameters</h4>
 
179
<div class="informaltable"><table width="100%" border="0">
 
180
<colgroup>
 
181
<col width="150px" class="parameters_name">
 
182
<col class="parameters_description">
 
183
<col width="200px" class="parameters_annotations">
 
184
</colgroup>
 
185
<tbody><tr>
 
186
<td class="parameter_name"><p>protocol</p></td>
 
187
<td class="parameter_description"><p>the protocol the sink element needs to handle, e.g. "http"</p></td>
 
188
<td class="parameter_annotations"> </td>
 
189
</tr></tbody>
 
190
</table></div>
 
191
</div>
 
192
<div class="refsect3">
 
193
<a name="id-1.2.13.6.7.3.7"></a><h4>Returns</h4>
 
194
<p> a newly-allocated description string, or NULL on error. Free
 
195
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</p>
 
196
<p></p>
 
197
</div>
 
198
</div>
 
199
<hr>
 
200
<div class="refsect2">
 
201
<a name="gst-pb-utils-get-decoder-description"></a><h3>gst_pb_utils_get_decoder_description ()</h3>
 
202
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
203
gst_pb_utils_get_decoder_description (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
 
204
<p>Returns a localised string describing an decoder for the format specified
 
205
in <em class="parameter"><code>caps</code></em>
 
206
, for use in error dialogs or other messages to be seen by the user.
 
207
Should never return NULL unless <em class="parameter"><code>factory_name</code></em>
 
208
 or <em class="parameter"><code>caps</code></em>
 
209
 are invalid.</p>
 
210
<p>This function is mainly for internal use, applications would typically
 
211
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
 
212
a missing feature from a missing-plugin message.</p>
 
213
<div class="refsect3">
 
214
<a name="id-1.2.13.6.7.4.6"></a><h4>Parameters</h4>
 
215
<div class="informaltable"><table width="100%" border="0">
 
216
<colgroup>
 
217
<col width="150px" class="parameters_name">
 
218
<col class="parameters_description">
 
219
<col width="200px" class="parameters_annotations">
 
220
</colgroup>
 
221
<tbody><tr>
 
222
<td class="parameter_name"><p>caps</p></td>
 
223
<td class="parameter_description"><p>the (fixed) <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> for which an decoder description is needed</p></td>
 
224
<td class="parameter_annotations"> </td>
 
225
</tr></tbody>
 
226
</table></div>
 
227
</div>
 
228
<div class="refsect3">
 
229
<a name="id-1.2.13.6.7.4.7"></a><h4>Returns</h4>
 
230
<p> a newly-allocated description string, or NULL on error. Free
 
231
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</p>
 
232
<p></p>
 
233
</div>
 
234
</div>
 
235
<hr>
 
236
<div class="refsect2">
 
237
<a name="gst-pb-utils-get-encoder-description"></a><h3>gst_pb_utils_get_encoder_description ()</h3>
 
238
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
239
gst_pb_utils_get_encoder_description (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
 
240
<p>Returns a localised string describing an encoder for the format specified
 
241
in <em class="parameter"><code>caps</code></em>
 
242
, for use in error dialogs or other messages to be seen by the user.
 
243
Should never return NULL unless <em class="parameter"><code>factory_name</code></em>
 
244
 or <em class="parameter"><code>caps</code></em>
 
245
 are invalid.</p>
 
246
<p>This function is mainly for internal use, applications would typically
 
247
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
 
248
a missing feature from a missing-plugin message.</p>
 
249
<div class="refsect3">
 
250
<a name="id-1.2.13.6.7.5.6"></a><h4>Parameters</h4>
 
251
<div class="informaltable"><table width="100%" border="0">
 
252
<colgroup>
 
253
<col width="150px" class="parameters_name">
 
254
<col class="parameters_description">
 
255
<col width="200px" class="parameters_annotations">
 
256
</colgroup>
 
257
<tbody><tr>
 
258
<td class="parameter_name"><p>caps</p></td>
 
259
<td class="parameter_description"><p>the (fixed) <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> for which an encoder description is needed</p></td>
 
260
<td class="parameter_annotations"> </td>
 
261
</tr></tbody>
 
262
</table></div>
 
263
</div>
 
264
<div class="refsect3">
 
265
<a name="id-1.2.13.6.7.5.7"></a><h4>Returns</h4>
 
266
<p> a newly-allocated description string, or NULL on error. Free
 
267
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</p>
 
268
<p></p>
 
269
</div>
 
270
</div>
 
271
<hr>
 
272
<div class="refsect2">
 
273
<a name="gst-pb-utils-get-element-description"></a><h3>gst_pb_utils_get_element_description ()</h3>
 
274
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
275
gst_pb_utils_get_element_description (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *factory_name</code></em>);</pre>
 
276
<p>Returns a localised string describing the given element, for use in
217
277
error dialogs or other messages to be seen by the user. Should never
218
 
return NULL unless <em class="parameter"><code>factory_name</code></em> is invalid.
219
 
</p>
220
 
<p>
221
 
This function is mainly for internal use, applications would typically
222
 
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
223
 
a missing feature from a missing-plugin message.
224
 
</p>
225
 
<div class="variablelist"><table border="0" class="variablelist">
 
278
return NULL unless <em class="parameter"><code>factory_name</code></em>
 
279
 is invalid.</p>
 
280
<p>This function is mainly for internal use, applications would typically
 
281
use <a class="link" href="gst-plugins-base-libs-gstpbutilsmissingplugins.html#gst-missing-plugin-message-get-description" title="gst_missing_plugin_message_get_description ()"><code class="function">gst_missing_plugin_message_get_description()</code></a> to get a description of
 
282
a missing feature from a missing-plugin message.</p>
 
283
<div class="refsect3">
 
284
<a name="id-1.2.13.6.7.6.6"></a><h4>Parameters</h4>
 
285
<div class="informaltable"><table width="100%" border="0">
226
286
<colgroup>
227
 
<col align="left" valign="top">
228
 
<col>
 
287
<col width="150px" class="parameters_name">
 
288
<col class="parameters_description">
 
289
<col width="200px" class="parameters_annotations">
229
290
</colgroup>
230
 
<tbody>
231
 
<tr>
232
 
<td><p><span class="term"><em class="parameter"><code>factory_name</code></em> :</span></p></td>
233
 
<td>the name of the element, e.g. "giosrc"</td>
234
 
</tr>
235
 
<tr>
236
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
237
 
<td>a newly-allocated description string, or NULL on error. Free
238
 
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</td>
239
 
</tr>
240
 
</tbody>
 
291
<tbody><tr>
 
292
<td class="parameter_name"><p>factory_name</p></td>
 
293
<td class="parameter_description"><p>the name of the element, e.g. "giosrc"</p></td>
 
294
<td class="parameter_annotations"> </td>
 
295
</tr></tbody>
241
296
</table></div>
242
297
</div>
 
298
<div class="refsect3">
 
299
<a name="id-1.2.13.6.7.6.7"></a><h4>Returns</h4>
 
300
<p> a newly-allocated description string, or NULL on error. Free
 
301
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</p>
 
302
<p></p>
 
303
</div>
 
304
</div>
243
305
<hr>
244
306
<div class="refsect2">
245
 
<a name="gst-pb-utils-add-codec-description-to-tag-list"></a><h3>gst_pb_utils_add_codec_description_to_tag_list ()</h3>
246
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gst_pb_utils_add_codec_description_to_tag_list
247
 
                                                        (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a> *taglist</code></em>,
248
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *codec_tag</code></em>,
249
 
                                                         <em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
250
 
<p>
251
 
Adds a codec tag describing the format specified by <em class="parameter"><code>caps</code></em> to <em class="parameter"><code>taglist</code></em>.
252
 
</p>
253
 
<div class="variablelist"><table border="0" class="variablelist">
 
307
<a name="gst-pb-utils-add-codec-description-to-tag-list"></a><h3>gst_pb_utils_add_codec_description_to_tag_list ()</h3>
 
308
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
 
309
gst_pb_utils_add_codec_description_to_tag_list
 
310
                               (<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a> *taglist</code></em>,
 
311
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *codec_tag</code></em>,
 
312
                                <em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
 
313
<p>Adds a codec tag describing the format specified by <em class="parameter"><code>caps</code></em>
 
314
 to <em class="parameter"><code>taglist</code></em>
 
315
.</p>
 
316
<div class="refsect3">
 
317
<a name="id-1.2.13.6.7.7.5"></a><h4>Parameters</h4>
 
318
<div class="informaltable"><table width="100%" border="0">
254
319
<colgroup>
255
 
<col align="left" valign="top">
256
 
<col>
 
320
<col width="150px" class="parameters_name">
 
321
<col class="parameters_description">
 
322
<col width="200px" class="parameters_annotations">
257
323
</colgroup>
258
324
<tbody>
259
325
<tr>
260
 
<td><p><span class="term"><em class="parameter"><code>taglist</code></em> :</span></p></td>
261
 
<td>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a>
262
 
</td>
 
326
<td class="parameter_name"><p>taglist</p></td>
 
327
<td class="parameter_description"><p>a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a></p></td>
 
328
<td class="parameter_annotations"> </td>
263
329
</tr>
264
330
<tr>
265
 
<td><p><span class="term"><em class="parameter"><code>codec_tag</code></em> :</span></p></td>
266
 
<td>a GStreamer codec tag such as <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GST-TAG-AUDIO-CODEC:CAPS"><span class="type">GST_TAG_AUDIO_CODEC</span></a>,
 
331
<td class="parameter_name"><p>codec_tag</p></td>
 
332
<td class="parameter_description"><p> a GStreamer codec tag such as <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GST-TAG-AUDIO-CODEC:CAPS"><span class="type">GST_TAG_AUDIO_CODEC</span></a>,
267
333
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GST-TAG-VIDEO-CODEC:CAPS"><span class="type">GST_TAG_VIDEO_CODEC</span></a> or <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GST-TAG-CODEC:CAPS"><span class="type">GST_TAG_CODEC</span></a>. If none is specified,
268
 
the function will attempt to detect the appropriate category. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
269
 
</td>
270
 
</tr>
271
 
<tr>
272
 
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
273
 
<td>the (fixed) <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> for which a codec tag should be added.</td>
274
 
</tr>
275
 
<tr>
276
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
277
 
<td>TRUE if a codec tag was added, FALSE otherwise.</td>
 
334
the function will attempt to detect the appropriate category. </p></td>
 
335
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
 
336
</tr>
 
337
<tr>
 
338
<td class="parameter_name"><p>caps</p></td>
 
339
<td class="parameter_description"><p>the (fixed) <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> for which a codec tag should be added.</p></td>
 
340
<td class="parameter_annotations"> </td>
278
341
</tr>
279
342
</tbody>
280
343
</table></div>
281
344
</div>
 
345
<div class="refsect3">
 
346
<a name="id-1.2.13.6.7.7.6"></a><h4>Returns</h4>
 
347
<p> TRUE if a codec tag was added, FALSE otherwise.</p>
 
348
<p></p>
 
349
</div>
 
350
</div>
282
351
<hr>
283
352
<div class="refsect2">
284
 
<a name="gst-pb-utils-get-codec-description"></a><h3>gst_pb_utils_get_codec_description ()</h3>
285
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             gst_pb_utils_get_codec_description  (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
286
 
<p>
287
 
Returns a localised (as far as this is possible) string describing the
288
 
media format specified in <em class="parameter"><code>caps</code></em>, for use in error dialogs or other messages
289
 
to be seen by the user. Should never return NULL unless <em class="parameter"><code>caps</code></em> is invalid.
290
 
</p>
291
 
<p>
292
 
Also see the convenience function
293
 
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-add-codec-description-to-tag-list" title="gst_pb_utils_add_codec_description_to_tag_list ()"><code class="function">gst_pb_utils_add_codec_description_to_tag_list()</code></a>.
294
 
</p>
295
 
<div class="variablelist"><table border="0" class="variablelist">
 
353
<a name="gst-pb-utils-get-codec-description"></a><h3>gst_pb_utils_get_codec_description ()</h3>
 
354
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
355
gst_pb_utils_get_codec_description (<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
 
356
<p>Returns a localised (as far as this is possible) string describing the
 
357
media format specified in <em class="parameter"><code>caps</code></em>
 
358
, for use in error dialogs or other messages
 
359
to be seen by the user. Should never return NULL unless <em class="parameter"><code>caps</code></em>
 
360
 is invalid.</p>
 
361
<p>Also see the convenience function
 
362
<a class="link" href="gst-plugins-base-libs-gstpbutilsdescriptions.html#gst-pb-utils-add-codec-description-to-tag-list" title="gst_pb_utils_add_codec_description_to_tag_list ()"><code class="function">gst_pb_utils_add_codec_description_to_tag_list()</code></a>.</p>
 
363
<div class="refsect3">
 
364
<a name="id-1.2.13.6.7.8.6"></a><h4>Parameters</h4>
 
365
<div class="informaltable"><table width="100%" border="0">
296
366
<colgroup>
297
 
<col align="left" valign="top">
298
 
<col>
 
367
<col width="150px" class="parameters_name">
 
368
<col class="parameters_description">
 
369
<col width="200px" class="parameters_annotations">
299
370
</colgroup>
300
 
<tbody>
301
 
<tr>
302
 
<td><p><span class="term"><em class="parameter"><code>caps</code></em> :</span></p></td>
303
 
<td>the (fixed) <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> for which an format description is needed</td>
304
 
</tr>
305
 
<tr>
306
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
307
 
<td>a newly-allocated description string, or NULL on error. Free
308
 
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</td>
309
 
</tr>
310
 
</tbody>
 
371
<tbody><tr>
 
372
<td class="parameter_name"><p>caps</p></td>
 
373
<td class="parameter_description"><p>the (fixed) <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> for which an format description is needed</p></td>
 
374
<td class="parameter_annotations"> </td>
 
375
</tr></tbody>
311
376
</table></div>
312
377
</div>
 
378
<div class="refsect3">
 
379
<a name="id-1.2.13.6.7.8.7"></a><h4>Returns</h4>
 
380
<p> a newly-allocated description string, or NULL on error. Free
 
381
string with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when not needed any longer.</p>
 
382
<p></p>
 
383
</div>
 
384
</div>
 
385
</div>
 
386
<div class="refsect1">
 
387
<a name="gst-plugins-base-libs-gstpbutilsdescriptions.other_details"></a><h2>Types and Values</h2>
313
388
</div>
314
389
</div>
315
390
<div class="footer">
316
391
<hr>
317
 
          Generated by GTK-Doc V1.19</div>
 
392
          Generated by GTK-Doc V1.20</div>
318
393
</body>
319
394
</html>
 
 
b'\\ No newline at end of file'