Blame docs/libs/html/gst-plugins-base-libs-Descriptions.html

Packit 0652a1
Packit 0652a1
<html>
Packit 0652a1
<head>
Packit 0652a1
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Packit 0652a1
<title>Descriptions: GStreamer Base Plugins 1.0 Library Reference Manual</title>
Packit 0652a1
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
Packit 0652a1
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
Packit 0652a1
<link rel="up" href="gstreamer-base-utils.html" title="Base Utils Library">
Packit 0652a1
<link rel="prev" href="gst-plugins-base-libs-Codec-utilities.html" title="Codec utilities">
Packit 0652a1
<link rel="next" href="gst-plugins-base-libs-Missing-plugins.html" title="Missing plugins">
Packit 0652a1
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
Packit 0652a1
<link rel="stylesheet" href="style.css" type="text/css">
Packit 0652a1
</head>
Packit 0652a1
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
Packit 0652a1
Packit 0652a1
Packit 0652a1
Top  | 
Packit 0652a1
                  Description
Packit 0652a1
Packit 0652a1
Home
Packit 0652a1
Up
Packit 0652a1
Prev
Packit 0652a1
Next
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Descriptions

Packit 0652a1

Descriptions — Provides human-readable descriptions for caps/codecs

Packit 0652a1
and encoder, decoder, URI source and URI sink elements

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Functions

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
gchar *
Packit 0652a1
Packit 0652a1
Packit 0652a1
gst_pb_utils_get_source_description ()
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
gchar *
Packit 0652a1
Packit 0652a1
Packit 0652a1
gst_pb_utils_get_sink_description ()
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
gchar *
Packit 0652a1
Packit 0652a1
Packit 0652a1
gst_pb_utils_get_decoder_description ()
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
gchar *
Packit 0652a1
Packit 0652a1
Packit 0652a1
gst_pb_utils_get_encoder_description ()
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
gchar *
Packit 0652a1
Packit 0652a1
Packit 0652a1
gst_pb_utils_get_element_description ()
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
gboolean
Packit 0652a1
Packit 0652a1
Packit 0652a1
gst_pb_utils_add_codec_description_to_tag_list ()
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
gchar *
Packit 0652a1
Packit 0652a1
Packit 0652a1
gst_pb_utils_get_codec_description ()
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Includes

Packit 0652a1
#include <gst/pbutils/pbutils.h>
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Description

Packit 0652a1

The above functions provide human-readable strings for media formats

Packit 0652a1
and decoder/demuxer/depayloader/encoder/muxer/payloader elements for use
Packit 0652a1
in error dialogs or other messages shown to users.

Packit 0652a1

gst_pb_utils_add_codec_description_to_tag_list() is a utility function

Packit 0652a1
for demuxer and decoder elements to add audio/video codec tags from a
Packit 0652a1
given (fixed) GstCaps.

Packit 0652a1
Packit 0652a1
Packit 0652a1

Functions

Packit 0652a1
Packit 0652a1

gst_pb_utils_get_source_description ()

Packit 0652a1
gchar *
Packit 0652a1
gst_pb_utils_get_source_description (const gchar *protocol);
Packit 0652a1

Returns a localised string describing a source element handling the protocol

Packit 0652a1
specified in protocol
Packit 0652a1
, for use in error dialogs or other messages to be
Packit 0652a1
seen by the user. Should never return NULL unless protocol
Packit 0652a1
 is invalid.

Packit 0652a1

This function is mainly for internal use, applications would typically

Packit 0652a1
use gst_missing_plugin_message_get_description() to get a description of
Packit 0652a1
a missing feature from a missing-plugin message.

Packit 0652a1
Packit 0652a1

Parameters

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

protocol

Packit 0652a1

the protocol the source element needs to handle, e.g. "http"

Packit 0652a1
 
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Returns

Packit 0652a1

a newly-allocated description string, or NULL on error. Free

Packit 0652a1
string with g_free() when not needed any longer.

Packit 0652a1
Packit 0652a1
Packit 0652a1

Packit 0652a1
Packit 0652a1

gst_pb_utils_get_sink_description ()

Packit 0652a1
gchar *
Packit 0652a1
gst_pb_utils_get_sink_description (const gchar *protocol);
Packit 0652a1

Returns a localised string describing a sink element handling the protocol

Packit 0652a1
specified in protocol
Packit 0652a1
, for use in error dialogs or other messages to be
Packit 0652a1
seen by the user. Should never return NULL unless protocol
Packit 0652a1
 is invalid.

Packit 0652a1

This function is mainly for internal use, applications would typically

Packit 0652a1
use gst_missing_plugin_message_get_description() to get a description of
Packit 0652a1
a missing feature from a missing-plugin message.

Packit 0652a1
Packit 0652a1

Parameters

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

protocol

Packit 0652a1

the protocol the sink element needs to handle, e.g. "http"

Packit 0652a1
 
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Returns

Packit 0652a1

a newly-allocated description string, or NULL on error. Free

Packit 0652a1
string with g_free() when not needed any longer.

Packit 0652a1
Packit 0652a1
Packit 0652a1

Packit 0652a1
Packit 0652a1

gst_pb_utils_get_decoder_description ()

Packit 0652a1
gchar *
Packit 0652a1
gst_pb_utils_get_decoder_description (const GstCaps *caps);
Packit 0652a1

Returns a localised string describing an decoder for the format specified

Packit 0652a1
in caps
Packit 0652a1
, for use in error dialogs or other messages to be seen by the user.
Packit 0652a1
Should never return NULL unless factory_name
Packit 0652a1
 or caps
Packit 0652a1
 are invalid.

Packit 0652a1

This function is mainly for internal use, applications would typically

Packit 0652a1
use gst_missing_plugin_message_get_description() to get a description of
Packit 0652a1
a missing feature from a missing-plugin message.

Packit 0652a1
Packit 0652a1

Parameters

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

caps

Packit 0652a1

the (fixed) GstCaps for which an decoder description is needed

Packit 0652a1
 
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Returns

Packit 0652a1

a newly-allocated description string, or NULL on error. Free

Packit 0652a1
string with g_free() when not needed any longer.

Packit 0652a1
Packit 0652a1
Packit 0652a1

Packit 0652a1
Packit 0652a1

gst_pb_utils_get_encoder_description ()

Packit 0652a1
gchar *
Packit 0652a1
gst_pb_utils_get_encoder_description (const GstCaps *caps);
Packit 0652a1

Returns a localised string describing an encoder for the format specified

Packit 0652a1
in caps
Packit 0652a1
, for use in error dialogs or other messages to be seen by the user.
Packit 0652a1
Should never return NULL unless factory_name
Packit 0652a1
 or caps
Packit 0652a1
 are invalid.

Packit 0652a1

This function is mainly for internal use, applications would typically

Packit 0652a1
use gst_missing_plugin_message_get_description() to get a description of
Packit 0652a1
a missing feature from a missing-plugin message.

Packit 0652a1
Packit 0652a1

Parameters

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

caps

Packit 0652a1

the (fixed) GstCaps for which an encoder description is needed

Packit 0652a1
 
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Returns

Packit 0652a1

a newly-allocated description string, or NULL on error. Free

Packit 0652a1
string with g_free() when not needed any longer.

Packit 0652a1
Packit 0652a1
Packit 0652a1

Packit 0652a1
Packit 0652a1

gst_pb_utils_get_element_description ()

Packit 0652a1
gchar *
Packit 0652a1
gst_pb_utils_get_element_description (const gchar *factory_name);
Packit 0652a1

Returns a localised string describing the given element, for use in

Packit 0652a1
error dialogs or other messages to be seen by the user. Should never
Packit 0652a1
return NULL unless factory_name
Packit 0652a1
 is invalid.

Packit 0652a1

This function is mainly for internal use, applications would typically

Packit 0652a1
use gst_missing_plugin_message_get_description() to get a description of
Packit 0652a1
a missing feature from a missing-plugin message.

Packit 0652a1
Packit 0652a1

Parameters

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

factory_name

Packit 0652a1

the name of the element, e.g. "giosrc"

Packit 0652a1
 
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Returns

Packit 0652a1

a newly-allocated description string, or NULL on error. Free

Packit 0652a1
string with g_free() when not needed any longer.

Packit 0652a1
Packit 0652a1
Packit 0652a1

Packit 0652a1
Packit 0652a1

gst_pb_utils_add_codec_description_to_tag_list ()

Packit 0652a1
gboolean
Packit 0652a1
gst_pb_utils_add_codec_description_to_tag_list
Packit 0652a1
                               (GstTagList *taglist,
Packit 0652a1
                                const gchar *codec_tag,
Packit 0652a1
                                const GstCaps *caps);
Packit 0652a1

Adds a codec tag describing the format specified by caps

Packit 0652a1
 to taglist
Packit 0652a1
.

Packit 0652a1
Packit 0652a1

Parameters

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

taglist

Packit 0652a1

a GstTagList

Packit 0652a1
 
Packit 0652a1
Packit 0652a1
Packit 0652a1

codec_tag

Packit 0652a1

a GStreamer codec tag such as GST_TAG_AUDIO_CODEC,

Packit 0652a1
GST_TAG_VIDEO_CODEC or GST_TAG_CODEC. If none is specified,
Packit 0652a1
the function will attempt to detect the appropriate category. 

Packit 0652a1
[allow-none]
Packit 0652a1
Packit 0652a1
Packit 0652a1

caps

Packit 0652a1

the (fixed) GstCaps for which a codec tag should be added.

Packit 0652a1
 
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Returns

Packit 0652a1

TRUE if a codec tag was added, FALSE otherwise.

Packit 0652a1
Packit 0652a1
Packit 0652a1

Packit 0652a1
Packit 0652a1

gst_pb_utils_get_codec_description ()

Packit 0652a1
gchar *
Packit 0652a1
gst_pb_utils_get_codec_description (const GstCaps *caps);
Packit 0652a1

Returns a localised (as far as this is possible) string describing the

Packit 0652a1
media format specified in caps
Packit 0652a1
, for use in error dialogs or other messages
Packit 0652a1
to be seen by the user. Should never return NULL unless caps
Packit 0652a1
 is invalid.

Packit 0652a1

Also see the convenience function

Packit 0652a1
gst_pb_utils_add_codec_description_to_tag_list().

Packit 0652a1
Packit 0652a1

Parameters

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

caps

Packit 0652a1

the (fixed) GstCaps for which an format description is needed

Packit 0652a1
 
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Returns

Packit 0652a1

a newly-allocated description string, or NULL on error. Free

Packit 0652a1
string with g_free() when not needed any longer.

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Types and Values

Packit 0652a1
Packit 0652a1
Packit 0652a1
Packit 0652a1

Generated by GTK-Doc V1.28
Packit 0652a1
</body>
Packit 0652a1
</html>