VLC 4.0.0-dev
Loading...
Searching...
No Matches
libvlc_parser_cbs Struct Reference

struct defining callbacks for libvlc_parser_queue More...

#include <libvlc_parser.h>

Data Fields

uint32_t version
 Version of struct libvlc_parser_cbs.
void(* on_parsed )(void *opaque, libvlc_parser_task *task, libvlc_parser_status_t status)
 Callback prototype that notify when a parser request finishes.
void(* on_attachments_added )(void *opaque, libvlc_parser_task *task, libvlc_picture_list_t *list)
 Callback prototype that notify when the parser add new attachments to the media.

Detailed Description

struct defining callbacks for libvlc_parser_queue

Field Documentation

◆ on_attachments_added

void(* libvlc_parser_cbs::on_attachments_added) (void *opaque, libvlc_parser_task *task, libvlc_picture_list_t *list)

Callback prototype that notify when the parser add new attachments to the media.

Called before on_parsed, if there are valid attachments.

Note
Optional (can be NULL), available since version 0
Parameters
opaqueopaque pointer set by cbs_opaque
taskopaque handle returned by libvlc_parser_queue()
listlist of pictures, the list is only valid from this callback, each pictures can be held separately with libvlc_picture_retain().

◆ on_parsed

void(* libvlc_parser_cbs::on_parsed) (void *opaque, libvlc_parser_task *task, libvlc_parser_status_t status)

Callback prototype that notify when a parser request finishes.

Note
Mandatory (can't be NULL), available since version 0
Parameters
opaqueopaque pointer set by cbs_opaque
taskopaque handle returned by libvlc_parser_queue()
statusterminal parse outcome, libvlc_parser_status_t

◆ version

uint32_t libvlc_parser_cbs::version

Version of struct libvlc_parser_cbs.


The documentation for this struct was generated from the following file: