Method

GrlMediaget_url_data_nth

since: 0.3.0

Declaration [src]

const gchar*
grl_media_get_url_data_nth (
  GrlMedia* media,
  guint index,
  gchar** mime,
  gint* bitrate,
  gfloat* framerate,
  gint* width,
  gint* height
)

Description

No description available.

Available since: 0.3.0

Parameters

index

Type: guint

Element to retrieve.

mime

Type: gchar**

The mime-type, or NULL to ignore.

The argument will be set by the function.
The data is owned by the instance.
The value is a NUL terminated UTF-8 string.
bitrate

Type: gint*

The url bitrate, or NULL to ignore.

The argument will be set by the function.
framerate

Type: gfloat*

The url framerate, or NULL to ignore.

The data is owned by the caller of the method.
width

Type: gint*

The url width, or NULL to ignore.

The data is owned by the caller of the method.
height

Type: gint*

The url height, or NULL to ignore.

The data is owned by the caller of the method.

Return value

Type: const gchar*

The n-th media’s URL and its related properties.

The data is owned by the instance.
The value is a NUL terminated UTF-8 string.