Bookmark

Bookmark — Bookmark interface

Functions

Types and Values

Description

Bookmark interface

Functions

flu_bookmark_info_get ()

gboolean
flu_bookmark_info_get (FluBookmark *thiz,
                       const FluBookmarkInfo **info);

Gets the information of an FluBookmark

Parameters

thiz

The bookmark to get the information from

 

info

The pointer to store the bookmark information

 

Returns

TRUE if the operation succeed, FALSE otherwise


flu_bookmark_ref ()

FluBookmark *
flu_bookmark_ref (FluBookmark *thiz);

Increase the reference count of an FluBookmark

Parameters

thiz

The bookmark to increase the reference count

 

Returns

The same bookmark for programming convenience.

[transfer full]


flu_bookmark_unref ()

void
flu_bookmark_unref (FluBookmark *thiz);

Decrease the reference count of an FluBookmark

Parameters

thiz

The bookmark to decrease the reference count

 

Types and Values

enum FluBookmarkType

Enum values used to describe different type of bookmarks handled by an FluPlayer.

Members

FLU_BOOKMARK_TYPE_UNKNOWN

Unknown bookmark type

 

FLU_BOOKMARK_TYPE_USER

User-set bookmark (currently unused)

 

FLU_BOOKMARK_TYPE_MEDIA

Media-provided bookmark

 

FluBookmarkInfo

typedef struct {
  FluBookmarkType type;
  gchar *name;
  gint id;
  gint64 start;
  gint64 duration;
} FluBookmarkInfo;

Bookmark information (see FluBookmark)

Members

FluBookmarkType type;

FluBookmarkType describing the bookmark type

 

gchar *name;

bookmark name

 

gint id;

unique identifier

 

gint64 start;

start position specified in nanoseconds related to the media

 

gint64 duration;

duration specified in nanoseconds

 

FluBookmark

typedef struct {
} FluBookmark;

An opaque structure representing a bookmark instance.