Method

GrlMediaset_url_data

since: 0.3.0

Declaration [src]

void
grl_media_set_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 in one go.

Available since: 0.3.0

Parameters

url

Type: const gchar*

The 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*

The 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.