Method

GrlMediaadd_url_data

since: 0.3.0

Declaration [src]

void
grl_media_add_url_data (
  GrlMedia* media,
  const gchar* url,
  const gchar* mime,
  gint bitrate,
  gfloat framerate,
  gint width,
  gint height
)

Description [src]

Sets all the keys related with the URL of a media resource and adds it to media (useful for resources with more than one URL).

Available since: 0.3.0

Parameters

url

Type: const gchar*

A media’s URL.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
mime

Type: const gchar*

Th url mime type.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
bitrate

Type: gint

The url bitrate, or -1 to ignore.

framerate

Type: gfloat

Media framerate, or -1 to ignore.

width

Type: gint

Media width, or -1 to ignore.

height

Type: gint

Media height, or -1 to ignore.