Top |
Functions
GstTagLicenseFlags | gst_tag_get_license_flags () |
const gchar * | gst_tag_get_license_nick () |
const gchar * | gst_tag_get_license_title () |
const gchar * | gst_tag_get_license_description () |
const gchar * | gst_tag_get_license_jurisdiction () |
const gchar * | gst_tag_get_license_version () |
gchar ** | gst_tag_get_licenses () |
Description
Provides information about Creative Commons media licenses, which are often expressed in media files as a license URI in tags. Also useful for applications creating media files, in case the user wants to license the content under a Creative Commons license.
Functions
gst_tag_get_license_flags ()
GstTagLicenseFlags
gst_tag_get_license_flags (const gchar *license_ref
);
Get the flags of a license, which describe most of the features of a license in their most general form.
gst_tag_get_license_nick ()
const gchar *
gst_tag_get_license_nick (const gchar *license_ref
);
Get the nick name of a license, which is a short (untranslated) string such as e.g. "CC BY-NC-ND 2.0 UK".
gst_tag_get_license_title ()
const gchar *
gst_tag_get_license_title (const gchar *license_ref
);
Get the title of a license, which is a short translated description of the license's features (generally not very pretty though).
gst_tag_get_license_description ()
const gchar *
gst_tag_get_license_description (const gchar *license_ref
);
Get the description of a license, which is a translated description of the license's main features.
gst_tag_get_license_jurisdiction ()
const gchar *
gst_tag_get_license_jurisdiction (const gchar *license_ref
);
Get the jurisdiction code of a license. This is usually a two-letter ISO 3166-1 alpha-2 code, but there is also the special case of Scotland, for which no code exists and which is thus represented as "scotland".
Known jurisdictions: ar, at, au, be, bg, br, ca, ch, cl, cn, co, de, dk, es, fi, fr, hr, hu, il, in, it, jp, kr, mk, mt, mx, my, nl, pe, pl, pt, scotland, se, si, tw, uk, us, za.
gst_tag_get_license_version ()
const gchar *
gst_tag_get_license_version (const gchar *license_ref
);
Get the version of a license.
gst_tag_get_licenses ()
gchar **
gst_tag_get_licenses (void
);
Returns a list of known license references (in form of URIs). This is useful for UIs to build a list of available licenses for tagging purposes (e.g. to tag an audio track appropriately in a video or audio editor, or an image in a camera application).
Returns
NULL-terminated array of license strings. Free
with g_strfreev()
when no longer needed.
[transfer full]
Types and Values
enum GstTagLicenseFlags
See http://creativecommons.org/ns for more information.
Members
making multiple copies is allowed |
||
distribution, public display and public performance are allowed |
||
distribution of derivative works is allowed |
||
commercial derivatives are allowed, but only non-commercial distribution is allowed |
||
copyright and license notices must be kept intact |
||
credit must be given to copyright holder and/or author |
||
derivative works must be licensed under the same terms or compatible terms as the original work |
||
source code (the preferred form for making modifications) must be provided when exercising some rights granted by the license |
||
derivative and combined works must be licensed under specified terms, similar to those of the original work |
||
derivative works must be licensed under specified terms, with at least the same conditions as the original work; combinations with the work may be licensed under different terms |
||
exercising rights for commercial purposes is prohibited |
||
use in a non-developing country is prohibited |
||
this license was created by the Creative Commons project |
||
this license was created by the Free Software Foundation (FSF) |