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

« back to all changes in this revision

Viewing changes to docs/libs/html/gst-plugins-base-libs-gsttaglicenses.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>gsttaglicenses</title>
 
5
<title>GStreamer Base Plugins 1.0 Library Reference Manual: gsttaglicenses</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-tag.html" title="Tag Support Library">
9
9
<link rel="prev" href="gst-plugins-base-libs-gsttaglanguagecodes.html" title="gsttaglanguagecodes">
10
10
<link rel="next" href="gstreamer-base-utils.html" title="Base Utils Library">
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-gsttaglanguagecodes.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
 
<td><a accesskey="u" href="gstreamer-tag.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="gstreamer-base-utils.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-gsttaglicenses.synopsis" class="shortcut">Top</a>
25
 
                   | 
26
 
                  <a href="#gst-plugins-base-libs-gsttaglicenses.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-gsttaglicenses.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
 
19
                  <a href="#gst-plugins-base-libs-gsttaglicenses.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-tag.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-gsttaglanguagecodes.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
 
24
<td><a accesskey="n" href="gstreamer-base-utils.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-gsttaglicenses"></a><div class="titlepage"></div>
31
28
<div class="refnamediv"><table width="100%"><tr>
33
30
<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-gsttaglicenses.top_of_page"></a>gsttaglicenses</span></h2>
34
31
<p>gsttaglicenses — utility functions for Creative Commons licenses</p>
35
32
</td>
36
 
<td valign="top" align="right"></td>
 
33
<td class="gallery_image" valign="top" align="right"></td>
37
34
</tr></table></div>
38
 
<div class="refsynopsisdiv">
39
 
<a name="gst-plugins-base-libs-gsttaglicenses.synopsis"></a><h2>Synopsis</h2>
40
 
<pre class="synopsis">
41
 
#include &lt;gst/tag/tag.h&gt;
42
 
 
43
 
enum                <a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#GstTagLicenseFlags" title="enum GstTagLicenseFlags">GstTagLicenseFlags</a>;
44
 
<a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#GstTagLicenseFlags" title="enum GstTagLicenseFlags"><span class="returnvalue">GstTagLicenseFlags</span></a>  <a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#gst-tag-get-license-flags" title="gst_tag_get_license_flags ()">gst_tag_get_license_flags</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> *license_ref</code></em>);
45
 
const <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-gsttaglicenses.html#gst-tag-get-license-nick" title="gst_tag_get_license_nick ()">gst_tag_get_license_nick</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> *license_ref</code></em>);
46
 
const <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-gsttaglicenses.html#gst-tag-get-license-title" title="gst_tag_get_license_title ()">gst_tag_get_license_title</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> *license_ref</code></em>);
47
 
const <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-gsttaglicenses.html#gst-tag-get-license-description" title="gst_tag_get_license_description ()">gst_tag_get_license_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> *license_ref</code></em>);
48
 
const <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-gsttaglicenses.html#gst-tag-get-license-jurisdiction" title="gst_tag_get_license_jurisdiction ()">gst_tag_get_license_jurisdiction</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> *license_ref</code></em>);
49
 
const <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-gsttaglicenses.html#gst-tag-get-license-version" title="gst_tag_get_license_version ()">gst_tag_get_license_version</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> *license_ref</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-gsttaglicenses.html#gst-tag-get-licenses" title="gst_tag_get_licenses ()">gst_tag_get_licenses</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
 
35
<div class="refsect1">
 
36
<a name="gst-plugins-base-libs-gsttaglicenses.functions"></a><h2>Functions</h2>
 
37
<div class="informaltable"><table width="100%" border="0">
 
38
<colgroup>
 
39
<col width="150px" class="functions_return">
 
40
<col class="functions_name">
 
41
</colgroup>
 
42
<tbody>
 
43
<tr>
 
44
<td class="function_type">
 
45
<a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#GstTagLicenseFlags" title="enum GstTagLicenseFlags"><span class="returnvalue">GstTagLicenseFlags</span></a>
 
46
</td>
 
47
<td class="function_name">
 
48
<a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#gst-tag-get-license-flags" title="gst_tag_get_license_flags ()">gst_tag_get_license_flags</a> <span class="c_punctuation">()</span>
 
49
</td>
 
50
</tr>
 
51
<tr>
 
52
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
53
</td>
 
54
<td class="function_name">
 
55
<a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#gst-tag-get-license-nick" title="gst_tag_get_license_nick ()">gst_tag_get_license_nick</a> <span class="c_punctuation">()</span>
 
56
</td>
 
57
</tr>
 
58
<tr>
 
59
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
60
</td>
 
61
<td class="function_name">
 
62
<a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#gst-tag-get-license-title" title="gst_tag_get_license_title ()">gst_tag_get_license_title</a> <span class="c_punctuation">()</span>
 
63
</td>
 
64
</tr>
 
65
<tr>
 
66
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
67
</td>
 
68
<td class="function_name">
 
69
<a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#gst-tag-get-license-description" title="gst_tag_get_license_description ()">gst_tag_get_license_description</a> <span class="c_punctuation">()</span>
 
70
</td>
 
71
</tr>
 
72
<tr>
 
73
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
74
</td>
 
75
<td class="function_name">
 
76
<a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#gst-tag-get-license-jurisdiction" title="gst_tag_get_license_jurisdiction ()">gst_tag_get_license_jurisdiction</a> <span class="c_punctuation">()</span>
 
77
</td>
 
78
</tr>
 
79
<tr>
 
80
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
81
</td>
 
82
<td class="function_name">
 
83
<a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#gst-tag-get-license-version" title="gst_tag_get_license_version ()">gst_tag_get_license_version</a> <span class="c_punctuation">()</span>
 
84
</td>
 
85
</tr>
 
86
<tr>
 
87
<td class="function_type">
 
88
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
 
89
</td>
 
90
<td class="function_name">
 
91
<a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#gst-tag-get-licenses" title="gst_tag_get_licenses ()">gst_tag_get_licenses</a> <span class="c_punctuation">()</span>
 
92
</td>
 
93
</tr>
 
94
</tbody>
 
95
</table></div>
 
96
</div>
 
97
<div class="refsect1">
 
98
<a name="gst-plugins-base-libs-gsttaglicenses.other"></a><h2>Types and Values</h2>
 
99
<div class="informaltable"><table width="100%" border="0">
 
100
<colgroup>
 
101
<col width="150px" class="name">
 
102
<col class="description">
 
103
</colgroup>
 
104
<tbody><tr>
 
105
<td class="datatype_keyword">enum</td>
 
106
<td class="function_name"><a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#GstTagLicenseFlags" title="enum GstTagLicenseFlags">GstTagLicenseFlags</a></td>
 
107
</tr></tbody>
 
108
</table></div>
 
109
</div>
 
110
<div class="refsect1">
 
111
<a name="gst-plugins-base-libs-gsttaglicenses.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
112
<pre class="screen">
 
113
</pre>
 
114
</div>
 
115
<div class="refsect1">
 
116
<a name="gst-plugins-base-libs-gsttaglicenses.includes"></a><h2>Includes</h2>
 
117
<pre class="synopsis">#include &lt;gst/tag/tag.h&gt;
51
118
</pre>
52
119
</div>
53
120
<div class="refsect1">
54
121
<a name="gst-plugins-base-libs-gsttaglicenses.description"></a><h2>Description</h2>
55
 
<p>
56
 
Provides information about Creative Commons media licenses, which are
 
122
<p>Provides information about Creative Commons media licenses, which are
57
123
often expressed in media files as a license URI in tags. Also useful
58
124
for applications creating media files, in case the user wants to license
59
 
the content under a Creative Commons license.
60
 
</p>
61
 
</div>
62
 
<div class="refsect1">
63
 
<a name="gst-plugins-base-libs-gsttaglicenses.details"></a><h2>Details</h2>
 
125
the content under a Creative Commons license.</p>
 
126
</div>
 
127
<div class="refsect1">
 
128
<a name="gst-plugins-base-libs-gsttaglicenses.functions_details"></a><h2>Functions</h2>
 
129
<div class="refsect2">
 
130
<a name="gst-tag-get-license-flags"></a><h3>gst_tag_get_license_flags ()</h3>
 
131
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#GstTagLicenseFlags" title="enum GstTagLicenseFlags"><span class="returnvalue">GstTagLicenseFlags</span></a>
 
132
gst_tag_get_license_flags (<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> *license_ref</code></em>);</pre>
 
133
<p>Get the flags of a license, which describe most of the features of
 
134
a license in their most general form.</p>
 
135
<div class="refsect3">
 
136
<a name="id-1.2.12.12.8.2.5"></a><h4>Parameters</h4>
 
137
<div class="informaltable"><table width="100%" border="0">
 
138
<colgroup>
 
139
<col width="150px" class="parameters_name">
 
140
<col class="parameters_description">
 
141
<col width="200px" class="parameters_annotations">
 
142
</colgroup>
 
143
<tbody><tr>
 
144
<td class="parameter_name"><p>license_ref</p></td>
 
145
<td class="parameter_description"><p>a license reference string in form of a URI,
 
146
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</p></td>
 
147
<td class="parameter_annotations"> </td>
 
148
</tr></tbody>
 
149
</table></div>
 
150
</div>
 
151
<div class="refsect3">
 
152
<a name="id-1.2.12.12.8.2.6"></a><h4>Returns</h4>
 
153
<p> the flags of the license, or 0 if the license is unknown</p>
 
154
<p></p>
 
155
</div>
 
156
</div>
 
157
<hr>
 
158
<div class="refsect2">
 
159
<a name="gst-tag-get-license-nick"></a><h3>gst_tag_get_license_nick ()</h3>
 
160
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
161
gst_tag_get_license_nick (<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> *license_ref</code></em>);</pre>
 
162
<p>Get the nick name of a license, which is a short (untranslated) string
 
163
such as e.g. "CC BY-NC-ND 2.0 UK".</p>
 
164
<div class="refsect3">
 
165
<a name="id-1.2.12.12.8.3.5"></a><h4>Parameters</h4>
 
166
<div class="informaltable"><table width="100%" border="0">
 
167
<colgroup>
 
168
<col width="150px" class="parameters_name">
 
169
<col class="parameters_description">
 
170
<col width="200px" class="parameters_annotations">
 
171
</colgroup>
 
172
<tbody><tr>
 
173
<td class="parameter_name"><p>license_ref</p></td>
 
174
<td class="parameter_description"><p>a license reference string in form of a URI,
 
175
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</p></td>
 
176
<td class="parameter_annotations"> </td>
 
177
</tr></tbody>
 
178
</table></div>
 
179
</div>
 
180
<div class="refsect3">
 
181
<a name="id-1.2.12.12.8.3.6"></a><h4>Returns</h4>
 
182
<p> the nick name of the license, or NULL if the license is unknown</p>
 
183
<p></p>
 
184
</div>
 
185
</div>
 
186
<hr>
 
187
<div class="refsect2">
 
188
<a name="gst-tag-get-license-title"></a><h3>gst_tag_get_license_title ()</h3>
 
189
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
190
gst_tag_get_license_title (<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> *license_ref</code></em>);</pre>
 
191
<p>Get the title of a license, which is a short translated description
 
192
of the license's features (generally not very pretty though).</p>
 
193
<div class="refsect3">
 
194
<a name="id-1.2.12.12.8.4.5"></a><h4>Parameters</h4>
 
195
<div class="informaltable"><table width="100%" border="0">
 
196
<colgroup>
 
197
<col width="150px" class="parameters_name">
 
198
<col class="parameters_description">
 
199
<col width="200px" class="parameters_annotations">
 
200
</colgroup>
 
201
<tbody><tr>
 
202
<td class="parameter_name"><p>license_ref</p></td>
 
203
<td class="parameter_description"><p>a license reference string in form of a URI,
 
204
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</p></td>
 
205
<td class="parameter_annotations"> </td>
 
206
</tr></tbody>
 
207
</table></div>
 
208
</div>
 
209
<div class="refsect3">
 
210
<a name="id-1.2.12.12.8.4.6"></a><h4>Returns</h4>
 
211
<p> the title of the license, or NULL if the license is unknown or
 
212
no title is available.</p>
 
213
<p></p>
 
214
</div>
 
215
</div>
 
216
<hr>
 
217
<div class="refsect2">
 
218
<a name="gst-tag-get-license-description"></a><h3>gst_tag_get_license_description ()</h3>
 
219
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
220
gst_tag_get_license_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> *license_ref</code></em>);</pre>
 
221
<p>Get the description of a license, which is a translated description
 
222
of the license's main features.</p>
 
223
<div class="refsect3">
 
224
<a name="id-1.2.12.12.8.5.5"></a><h4>Parameters</h4>
 
225
<div class="informaltable"><table width="100%" border="0">
 
226
<colgroup>
 
227
<col width="150px" class="parameters_name">
 
228
<col class="parameters_description">
 
229
<col width="200px" class="parameters_annotations">
 
230
</colgroup>
 
231
<tbody><tr>
 
232
<td class="parameter_name"><p>license_ref</p></td>
 
233
<td class="parameter_description"><p>a license reference string in form of a URI,
 
234
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</p></td>
 
235
<td class="parameter_annotations"> </td>
 
236
</tr></tbody>
 
237
</table></div>
 
238
</div>
 
239
<div class="refsect3">
 
240
<a name="id-1.2.12.12.8.5.6"></a><h4>Returns</h4>
 
241
<p> the description of the license, or NULL if the license is unknown
 
242
or a description is not available.</p>
 
243
<p></p>
 
244
</div>
 
245
</div>
 
246
<hr>
 
247
<div class="refsect2">
 
248
<a name="gst-tag-get-license-jurisdiction"></a><h3>gst_tag_get_license_jurisdiction ()</h3>
 
249
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
250
gst_tag_get_license_jurisdiction (<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> *license_ref</code></em>);</pre>
 
251
<p>Get the jurisdiction code of a license. This is usually a two-letter
 
252
ISO 3166-1 alpha-2 code, but there is also the special case of Scotland,
 
253
for which no code exists and which is thus represented as "scotland".</p>
 
254
<p>Known jurisdictions: ar, at, au, be, bg, br, ca, ch, cl, cn, co, de,
 
255
dk, es, fi, fr, hr, hu, il, in, it, jp, kr, mk, mt, mx, my, nl, pe, pl,
 
256
pt, scotland, se, si, tw, uk, us, za.</p>
 
257
<div class="refsect3">
 
258
<a name="id-1.2.12.12.8.6.6"></a><h4>Parameters</h4>
 
259
<div class="informaltable"><table width="100%" border="0">
 
260
<colgroup>
 
261
<col width="150px" class="parameters_name">
 
262
<col class="parameters_description">
 
263
<col width="200px" class="parameters_annotations">
 
264
</colgroup>
 
265
<tbody><tr>
 
266
<td class="parameter_name"><p>license_ref</p></td>
 
267
<td class="parameter_description"><p>a license reference string in form of a URI,
 
268
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</p></td>
 
269
<td class="parameter_annotations"> </td>
 
270
</tr></tbody>
 
271
</table></div>
 
272
</div>
 
273
<div class="refsect3">
 
274
<a name="id-1.2.12.12.8.6.7"></a><h4>Returns</h4>
 
275
<p> the jurisdiction code of the license, or NULL if the license is
 
276
unknown or is not specific to a particular jurisdiction.</p>
 
277
<p></p>
 
278
</div>
 
279
</div>
 
280
<hr>
 
281
<div class="refsect2">
 
282
<a name="gst-tag-get-license-version"></a><h3>gst_tag_get_license_version ()</h3>
 
283
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
 
284
gst_tag_get_license_version (<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> *license_ref</code></em>);</pre>
 
285
<p>Get the version of a license.</p>
 
286
<div class="refsect3">
 
287
<a name="id-1.2.12.12.8.7.5"></a><h4>Parameters</h4>
 
288
<div class="informaltable"><table width="100%" border="0">
 
289
<colgroup>
 
290
<col width="150px" class="parameters_name">
 
291
<col class="parameters_description">
 
292
<col width="200px" class="parameters_annotations">
 
293
</colgroup>
 
294
<tbody><tr>
 
295
<td class="parameter_name"><p>license_ref</p></td>
 
296
<td class="parameter_description"><p>a license reference string in form of a URI,
 
297
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</p></td>
 
298
<td class="parameter_annotations"> </td>
 
299
</tr></tbody>
 
300
</table></div>
 
301
</div>
 
302
<div class="refsect3">
 
303
<a name="id-1.2.12.12.8.7.6"></a><h4>Returns</h4>
 
304
<p> the version of the license, or NULL if the license is not known or
 
305
has no version</p>
 
306
<p></p>
 
307
</div>
 
308
</div>
 
309
<hr>
 
310
<div class="refsect2">
 
311
<a name="gst-tag-get-licenses"></a><h3>gst_tag_get_licenses ()</h3>
 
312
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
 
313
gst_tag_get_licenses (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
314
<p>Returns a list of known license references (in form of URIs). This is
 
315
useful for UIs to build a list of available licenses for tagging purposes
 
316
(e.g. to tag an audio track appropriately in a video or audio editor, or
 
317
an image in a camera application).</p>
 
318
<div class="refsect3">
 
319
<a name="id-1.2.12.12.8.8.5"></a><h4>Returns</h4>
 
320
<p> NULL-terminated array of license strings. Free
 
321
with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when no longer needed. </p>
 
322
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
 
323
</div>
 
324
</div>
 
325
</div>
 
326
<div class="refsect1">
 
327
<a name="gst-plugins-base-libs-gsttaglicenses.other_details"></a><h2>Types and Values</h2>
64
328
<div class="refsect2">
65
329
<a name="GstTagLicenseFlags"></a><h3>enum GstTagLicenseFlags</h3>
66
 
<pre class="programlisting">typedef enum {
67
 
  GST_TAG_LICENSE_PERMITS_REPRODUCTION             = (1 &lt;&lt; 0),
68
 
  GST_TAG_LICENSE_PERMITS_DISTRIBUTION             = (1 &lt;&lt; 1),
69
 
  GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS         = (1 &lt;&lt; 2),
70
 
  GST_TAG_LICENSE_PERMITS_SHARING                  = (1 &lt;&lt; 3),
71
 
 
72
 
  GST_TAG_LICENSE_REQUIRES_NOTICE                  = (1 &lt;&lt; 8),
73
 
  GST_TAG_LICENSE_REQUIRES_ATTRIBUTION             = (1 &lt;&lt; 9),
74
 
  GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE             = (1 &lt;&lt; 10),
75
 
  GST_TAG_LICENSE_REQUIRES_SOURCE_CODE             = (1 &lt;&lt; 11),
76
 
  GST_TAG_LICENSE_REQUIRES_COPYLEFT                = (1 &lt;&lt; 12),
77
 
  GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT         = (1 &lt;&lt; 13),
78
 
 
79
 
  GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE         = (1 &lt;&lt; 16),
80
 
  GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE = (1 &lt;&lt; 17),
81
 
 
82
 
  GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE         = (1 &lt;&lt; 24),
83
 
  GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE = (1 &lt;&lt; 25)
84
 
} GstTagLicenseFlags;
85
 
</pre>
86
 
<p>
87
 
See http://creativecommons.org/ns for more information.
88
 
</p>
89
 
<div class="variablelist"><table border="0" class="variablelist">
 
330
<p>See http://creativecommons.org/ns for more information.</p>
 
331
<div class="refsect3">
 
332
<a name="id-1.2.12.12.9.2.4"></a><h4>Members</h4>
 
333
<div class="informaltable"><table width="100%" border="0">
90
334
<colgroup>
91
 
<col align="left" valign="top">
92
 
<col>
 
335
<col width="300px" class="enum_members_name">
 
336
<col class="enum_members_description">
 
337
<col width="200px" class="enum_members_annotations">
93
338
</colgroup>
94
339
<tbody>
95
340
<tr>
96
 
<td><p><a name="GST-TAG-LICENSE-PERMITS-REPRODUCTION:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_PERMITS_REPRODUCTION</code></span></p></td>
97
 
<td>making multiple copies
98
 
    is allowed
99
 
</td>
100
 
</tr>
101
 
<tr>
102
 
<td><p><a name="GST-TAG-LICENSE-PERMITS-DISTRIBUTION:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_PERMITS_DISTRIBUTION</code></span></p></td>
103
 
<td>distribution, public display
104
 
    and public performance are allowed
105
 
</td>
106
 
</tr>
107
 
<tr>
108
 
<td><p><a name="GST-TAG-LICENSE-PERMITS-DERIVATIVE-WORKS:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS</code></span></p></td>
109
 
<td>distribution of derivative
110
 
    works is allowed
111
 
</td>
112
 
</tr>
113
 
<tr>
114
 
<td><p><a name="GST-TAG-LICENSE-PERMITS-SHARING:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_PERMITS_SHARING</code></span></p></td>
115
 
<td>commercial derivatives are allowed,
116
 
    but only non-commercial distribution is allowed
117
 
</td>
118
 
</tr>
119
 
<tr>
120
 
<td><p><a name="GST-TAG-LICENSE-REQUIRES-NOTICE:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_REQUIRES_NOTICE</code></span></p></td>
121
 
<td>copyright and license notices
122
 
    must be kept intact
123
 
</td>
124
 
</tr>
125
 
<tr>
126
 
<td><p><a name="GST-TAG-LICENSE-REQUIRES-ATTRIBUTION:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_REQUIRES_ATTRIBUTION</code></span></p></td>
127
 
<td>credit must be given to
128
 
    copyright holder and/or author
129
 
</td>
130
 
</tr>
131
 
<tr>
132
 
<td><p><a name="GST-TAG-LICENSE-REQUIRES-SHARE-ALIKE:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE</code></span></p></td>
133
 
<td>derivative works must be
134
 
    licensed under the same terms or compatible terms as the original work
135
 
</td>
136
 
</tr>
137
 
<tr>
138
 
<td><p><a name="GST-TAG-LICENSE-REQUIRES-SOURCE-CODE:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_REQUIRES_SOURCE_CODE</code></span></p></td>
139
 
<td>source code (the preferred
 
341
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-PERMITS-REPRODUCTION:CAPS"></a>GST_TAG_LICENSE_PERMITS_REPRODUCTION</p></td>
 
342
<td class="enum_member_description">
 
343
<p>making multiple copies
 
344
    is allowed</p>
 
345
</td>
 
346
<td class="enum_member_annotations"> </td>
 
347
</tr>
 
348
<tr>
 
349
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-PERMITS-DISTRIBUTION:CAPS"></a>GST_TAG_LICENSE_PERMITS_DISTRIBUTION</p></td>
 
350
<td class="enum_member_description">
 
351
<p>distribution, public display
 
352
    and public performance are allowed</p>
 
353
</td>
 
354
<td class="enum_member_annotations"> </td>
 
355
</tr>
 
356
<tr>
 
357
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-PERMITS-DERIVATIVE-WORKS:CAPS"></a>GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS</p></td>
 
358
<td class="enum_member_description">
 
359
<p>distribution of derivative
 
360
    works is allowed</p>
 
361
</td>
 
362
<td class="enum_member_annotations"> </td>
 
363
</tr>
 
364
<tr>
 
365
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-PERMITS-SHARING:CAPS"></a>GST_TAG_LICENSE_PERMITS_SHARING</p></td>
 
366
<td class="enum_member_description">
 
367
<p>commercial derivatives are allowed,
 
368
    but only non-commercial distribution is allowed</p>
 
369
</td>
 
370
<td class="enum_member_annotations"> </td>
 
371
</tr>
 
372
<tr>
 
373
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-REQUIRES-NOTICE:CAPS"></a>GST_TAG_LICENSE_REQUIRES_NOTICE</p></td>
 
374
<td class="enum_member_description">
 
375
<p>copyright and license notices
 
376
    must be kept intact</p>
 
377
</td>
 
378
<td class="enum_member_annotations"> </td>
 
379
</tr>
 
380
<tr>
 
381
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-REQUIRES-ATTRIBUTION:CAPS"></a>GST_TAG_LICENSE_REQUIRES_ATTRIBUTION</p></td>
 
382
<td class="enum_member_description">
 
383
<p>credit must be given to
 
384
    copyright holder and/or author</p>
 
385
</td>
 
386
<td class="enum_member_annotations"> </td>
 
387
</tr>
 
388
<tr>
 
389
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-REQUIRES-SHARE-ALIKE:CAPS"></a>GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE</p></td>
 
390
<td class="enum_member_description">
 
391
<p>derivative works must be
 
392
    licensed under the same terms or compatible terms as the original work</p>
 
393
</td>
 
394
<td class="enum_member_annotations"> </td>
 
395
</tr>
 
396
<tr>
 
397
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-REQUIRES-SOURCE-CODE:CAPS"></a>GST_TAG_LICENSE_REQUIRES_SOURCE_CODE</p></td>
 
398
<td class="enum_member_description">
 
399
<p>source code (the preferred
140
400
    form for making modifications) must be provided when exercising some
141
 
    rights granted by the license
 
401
    rights granted by the license</p>
142
402
</td>
 
403
<td class="enum_member_annotations"> </td>
143
404
</tr>
144
405
<tr>
145
 
<td><p><a name="GST-TAG-LICENSE-REQUIRES-COPYLEFT:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_REQUIRES_COPYLEFT</code></span></p></td>
146
 
<td>derivative and combined works
 
406
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-REQUIRES-COPYLEFT:CAPS"></a>GST_TAG_LICENSE_REQUIRES_COPYLEFT</p></td>
 
407
<td class="enum_member_description">
 
408
<p>derivative and combined works
147
409
    must be licensed under specified terms, similar to those of the original
148
 
    work
 
410
    work</p>
149
411
</td>
 
412
<td class="enum_member_annotations"> </td>
150
413
</tr>
151
414
<tr>
152
 
<td><p><a name="GST-TAG-LICENSE-REQUIRES-LESSER-COPYLEFT:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT</code></span></p></td>
153
 
<td>derivative works must be
 
415
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-REQUIRES-LESSER-COPYLEFT:CAPS"></a>GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT</p></td>
 
416
<td class="enum_member_description">
 
417
<p>derivative works must be
154
418
    licensed under specified terms, with at least the same conditions as
155
419
    the original work; combinations with the work may be licensed under
156
 
    different terms
157
 
</td>
158
 
</tr>
159
 
<tr>
160
 
<td><p><a name="GST-TAG-LICENSE-PROHIBITS-COMMERCIAL-USE:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE</code></span></p></td>
161
 
<td>exercising rights for
162
 
    commercial purposes is prohibited
163
 
</td>
164
 
</tr>
165
 
<tr>
166
 
<td><p><a name="GST-TAG-LICENSE-PROHIBITS-HIGH-INCOME-NATION-USE:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE</code></span></p></td>
167
 
<td>use in a
168
 
    non-developing country is prohibited
169
 
</td>
170
 
</tr>
171
 
<tr>
172
 
<td><p><a name="GST-TAG-LICENSE-CREATIVE-COMMONS-LICENSE:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE</code></span></p></td>
173
 
<td>this license was created
174
 
    by the Creative Commons project
175
 
</td>
176
 
</tr>
177
 
<tr>
178
 
<td><p><a name="GST-TAG-LICENSE-FREE-SOFTWARE-FOUNDATION-LICENSE:CAPS"></a><span class="term"><code class="literal">GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE</code></span></p></td>
179
 
<td>this license was
180
 
    created by the Free Software Foundation (FSF)
181
 
</td>
182
 
</tr>
183
 
</tbody>
184
 
</table></div>
185
 
</div>
186
 
<hr>
187
 
<div class="refsect2">
188
 
<a name="gst-tag-get-license-flags"></a><h3>gst_tag_get_license_flags ()</h3>
189
 
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-gsttaglicenses.html#GstTagLicenseFlags" title="enum GstTagLicenseFlags"><span class="returnvalue">GstTagLicenseFlags</span></a>  gst_tag_get_license_flags           (<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> *license_ref</code></em>);</pre>
190
 
<p>
191
 
Get the flags of a license, which describe most of the features of
192
 
a license in their most general form.
193
 
</p>
194
 
<div class="variablelist"><table border="0" class="variablelist">
195
 
<colgroup>
196
 
<col align="left" valign="top">
197
 
<col>
198
 
</colgroup>
199
 
<tbody>
200
 
<tr>
201
 
<td><p><span class="term"><em class="parameter"><code>license_ref</code></em> :</span></p></td>
202
 
<td>a license reference string in form of a URI,
203
 
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</td>
204
 
</tr>
205
 
<tr>
206
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
207
 
<td>the flags of the license, or 0 if the license is unknown</td>
208
 
</tr>
209
 
</tbody>
210
 
</table></div>
211
 
</div>
212
 
<hr>
213
 
<div class="refsect2">
214
 
<a name="gst-tag-get-license-nick"></a><h3>gst_tag_get_license_nick ()</h3>
215
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gst_tag_get_license_nick            (<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> *license_ref</code></em>);</pre>
216
 
<p>
217
 
Get the nick name of a license, which is a short (untranslated) string
218
 
such as e.g. "CC BY-NC-ND 2.0 UK".
219
 
</p>
220
 
<div class="variablelist"><table border="0" class="variablelist">
221
 
<colgroup>
222
 
<col align="left" valign="top">
223
 
<col>
224
 
</colgroup>
225
 
<tbody>
226
 
<tr>
227
 
<td><p><span class="term"><em class="parameter"><code>license_ref</code></em> :</span></p></td>
228
 
<td>a license reference string in form of a URI,
229
 
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</td>
230
 
</tr>
231
 
<tr>
232
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
233
 
<td>the nick name of the license, or NULL if the license is unknown</td>
234
 
</tr>
235
 
</tbody>
236
 
</table></div>
237
 
</div>
238
 
<hr>
239
 
<div class="refsect2">
240
 
<a name="gst-tag-get-license-title"></a><h3>gst_tag_get_license_title ()</h3>
241
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gst_tag_get_license_title           (<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> *license_ref</code></em>);</pre>
242
 
<p>
243
 
Get the title of a license, which is a short translated description
244
 
of the license's features (generally not very pretty though).
245
 
</p>
246
 
<div class="variablelist"><table border="0" class="variablelist">
247
 
<colgroup>
248
 
<col align="left" valign="top">
249
 
<col>
250
 
</colgroup>
251
 
<tbody>
252
 
<tr>
253
 
<td><p><span class="term"><em class="parameter"><code>license_ref</code></em> :</span></p></td>
254
 
<td>a license reference string in form of a URI,
255
 
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</td>
256
 
</tr>
257
 
<tr>
258
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
259
 
<td>the title of the license, or NULL if the license is unknown or
260
 
no title is available.</td>
261
 
</tr>
262
 
</tbody>
263
 
</table></div>
264
 
</div>
265
 
<hr>
266
 
<div class="refsect2">
267
 
<a name="gst-tag-get-license-description"></a><h3>gst_tag_get_license_description ()</h3>
268
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gst_tag_get_license_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> *license_ref</code></em>);</pre>
269
 
<p>
270
 
Get the description of a license, which is a translated description
271
 
of the license's main features.
272
 
</p>
273
 
<div class="variablelist"><table border="0" class="variablelist">
274
 
<colgroup>
275
 
<col align="left" valign="top">
276
 
<col>
277
 
</colgroup>
278
 
<tbody>
279
 
<tr>
280
 
<td><p><span class="term"><em class="parameter"><code>license_ref</code></em> :</span></p></td>
281
 
<td>a license reference string in form of a URI,
282
 
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</td>
283
 
</tr>
284
 
<tr>
285
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
286
 
<td>the description of the license, or NULL if the license is unknown
287
 
or a description is not available.</td>
288
 
</tr>
289
 
</tbody>
290
 
</table></div>
291
 
</div>
292
 
<hr>
293
 
<div class="refsect2">
294
 
<a name="gst-tag-get-license-jurisdiction"></a><h3>gst_tag_get_license_jurisdiction ()</h3>
295
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gst_tag_get_license_jurisdiction    (<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> *license_ref</code></em>);</pre>
296
 
<p>
297
 
Get the jurisdiction code of a license. This is usually a two-letter
298
 
ISO 3166-1 alpha-2 code, but there is also the special case of Scotland,
299
 
for which no code exists and which is thus represented as "scotland".
300
 
</p>
301
 
<p>
302
 
Known jurisdictions: ar, at, au, be, bg, br, ca, ch, cl, cn, co, de,
303
 
dk, es, fi, fr, hr, hu, il, in, it, jp, kr, mk, mt, mx, my, nl, pe, pl,
304
 
pt, scotland, se, si, tw, uk, us, za.
305
 
</p>
306
 
<div class="variablelist"><table border="0" class="variablelist">
307
 
<colgroup>
308
 
<col align="left" valign="top">
309
 
<col>
310
 
</colgroup>
311
 
<tbody>
312
 
<tr>
313
 
<td><p><span class="term"><em class="parameter"><code>license_ref</code></em> :</span></p></td>
314
 
<td>a license reference string in form of a URI,
315
 
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</td>
316
 
</tr>
317
 
<tr>
318
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
319
 
<td>the jurisdiction code of the license, or NULL if the license is
320
 
unknown or is not specific to a particular jurisdiction.</td>
321
 
</tr>
322
 
</tbody>
323
 
</table></div>
324
 
</div>
325
 
<hr>
326
 
<div class="refsect2">
327
 
<a name="gst-tag-get-license-version"></a><h3>gst_tag_get_license_version ()</h3>
328
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gst_tag_get_license_version         (<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> *license_ref</code></em>);</pre>
329
 
<p>
330
 
Get the version of a license.
331
 
</p>
332
 
<div class="variablelist"><table border="0" class="variablelist">
333
 
<colgroup>
334
 
<col align="left" valign="top">
335
 
<col>
336
 
</colgroup>
337
 
<tbody>
338
 
<tr>
339
 
<td><p><span class="term"><em class="parameter"><code>license_ref</code></em> :</span></p></td>
340
 
<td>a license reference string in form of a URI,
341
 
e.g. "http://creativecommons.org/licenses/by-nc-nd/2.0/"</td>
342
 
</tr>
343
 
<tr>
344
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
345
 
<td>the version of the license, or NULL if the license is not known or
346
 
has no version</td>
347
 
</tr>
348
 
</tbody>
349
 
</table></div>
350
 
</div>
351
 
<hr>
352
 
<div class="refsect2">
353
 
<a name="gst-tag-get-licenses"></a><h3>gst_tag_get_licenses ()</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> **            gst_tag_get_licenses                (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
355
 
<p>
356
 
Returns a list of known license references (in form of URIs). This is
357
 
useful for UIs to build a list of available licenses for tagging purposes
358
 
(e.g. to tag an audio track appropriately in a video or audio editor, or
359
 
an image in a camera application).
360
 
</p>
361
 
<div class="variablelist"><table border="0" class="variablelist">
362
 
<colgroup>
363
 
<col align="left" valign="top">
364
 
<col>
365
 
</colgroup>
366
 
<tbody><tr>
367
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
368
 
<td>NULL-terminated array of license strings. Free
369
 
with <a href="http://library.gnome.org/devel/glib/unstable/glib-String-Utility-Functions.html#g-strfreev"><code class="function">g_strfreev()</code></a> when no longer needed. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
370
 
</td>
371
 
</tr></tbody>
372
 
</table></div>
 
420
    different terms</p>
 
421
</td>
 
422
<td class="enum_member_annotations"> </td>
 
423
</tr>
 
424
<tr>
 
425
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-PROHIBITS-COMMERCIAL-USE:CAPS"></a>GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE</p></td>
 
426
<td class="enum_member_description">
 
427
<p>exercising rights for
 
428
    commercial purposes is prohibited</p>
 
429
</td>
 
430
<td class="enum_member_annotations"> </td>
 
431
</tr>
 
432
<tr>
 
433
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-PROHIBITS-HIGH-INCOME-NATION-USE:CAPS"></a>GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE</p></td>
 
434
<td class="enum_member_description">
 
435
<p>use in a
 
436
    non-developing country is prohibited</p>
 
437
</td>
 
438
<td class="enum_member_annotations"> </td>
 
439
</tr>
 
440
<tr>
 
441
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-CREATIVE-COMMONS-LICENSE:CAPS"></a>GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE</p></td>
 
442
<td class="enum_member_description">
 
443
<p>this license was created
 
444
    by the Creative Commons project</p>
 
445
</td>
 
446
<td class="enum_member_annotations"> </td>
 
447
</tr>
 
448
<tr>
 
449
<td class="enum_member_name"><p><a name="GST-TAG-LICENSE-FREE-SOFTWARE-FOUNDATION-LICENSE:CAPS"></a>GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE</p></td>
 
450
<td class="enum_member_description">
 
451
<p>this license was
 
452
    created by the Free Software Foundation (FSF)</p>
 
453
</td>
 
454
<td class="enum_member_annotations"> </td>
 
455
</tr>
 
456
</tbody>
 
457
</table></div>
 
458
</div>
373
459
</div>
374
460
</div>
375
461
<div class="refsect1">
376
462
<a name="gst-plugins-base-libs-gsttaglicenses.see-also"></a><h2>See Also</h2>
377
 
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a>
 
463
<p><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GstTagList"><span class="type">GstTagList</span></a></p>
378
464
</div>
379
465
</div>
380
466
<div class="footer">
381
467
<hr>
382
 
          Generated by GTK-Doc V1.19</div>
 
468
          Generated by GTK-Doc V1.20</div>
383
469
</body>
384
470
</html>
 
 
b'\\ No newline at end of file'