Conversion functions

Conversion functions — Converts enumerated types into human readable strings

Synopsis


#include <ogmdvd-labels.h>


const gchar*        ogmdvd_get_video_format_label       (gint format);
const gchar*        ogmdvd_get_display_aspect_label     (gint aspect);
const gchar*        ogmdvd_get_audio_format_label       (gint format);
const gchar*        ogmdvd_get_audio_channels_label     (gint channels);
const gchar*        ogmdvd_get_audio_quantization_label (gint quantization);
const gchar*        ogmdvd_get_audio_content_label      (gint content);
const gchar*        ogmdvd_get_subp_content_label       (gint content);
const gchar*        ogmdvd_get_language_label           (gint code);
const gchar*        ogmdvd_get_language_iso639_1        (gint code);
const gchar*        ogmdvd_get_language_iso639_2        (gint code);

Description

Details

ogmdvd_get_video_format_label ()

const gchar*        ogmdvd_get_video_format_label       (gint format);

Returns a human readable video format.

format : The video format
Returns : A constant string, or NULL

ogmdvd_get_display_aspect_label ()

const gchar*        ogmdvd_get_display_aspect_label     (gint aspect);

Returns a human readable display aspect.

aspect : The display aspect
Returns : A constant string, or NULL

ogmdvd_get_audio_format_label ()

const gchar*        ogmdvd_get_audio_format_label       (gint format);

Returns a human readable audio format.

format : The audio format
Returns : A constant string, or NULL

ogmdvd_get_audio_channels_label ()

const gchar*        ogmdvd_get_audio_channels_label     (gint channels);

Returns a human readable number of channels.

channels : The number of channels
Returns : A constant string, or NULL

ogmdvd_get_audio_quantization_label ()

const gchar*        ogmdvd_get_audio_quantization_label (gint quantization);

Returns a human readable quantization.

quantization : The quantization
Returns : A constant string, or NULL

ogmdvd_get_audio_content_label ()

const gchar*        ogmdvd_get_audio_content_label      (gint content);

Returns a human readable audio content.

content : The audio content
Returns : A constant string, or NULL

ogmdvd_get_subp_content_label ()

const gchar*        ogmdvd_get_subp_content_label       (gint content);

Returns a human readable subtitles content.

content : The subtitles content
Returns : A constant string, or NULL

ogmdvd_get_language_label ()

const gchar*        ogmdvd_get_language_label           (gint code);

Returns a human readable language.

code : The language code
Returns : A constant string, or NULL

ogmdvd_get_language_iso639_1 ()

const gchar*        ogmdvd_get_language_iso639_1        (gint code);

Returns an ISO 639-1 language.

code : The language code
Returns : A constant string, or NULL

ogmdvd_get_language_iso639_2 ()

const gchar*        ogmdvd_get_language_iso639_2        (gint code);

Returns an ISO 639-2 language.

code : The language code
Returns : A constant string, or NULL