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

struct defining callbacks for libvlc_parser_queue_thumbnailing More...

#include <libvlc_parser.h>

Data Fields

uint32_t version
 Version of struct libvlc_thumbnailer_cbs.
void(* on_ended )(void *opaque, libvlc_parser_task *task, libvlc_picture_t *picture)
 Callback prototype that notify when a thumbnailer request finishes.

Detailed Description

struct defining callbacks for libvlc_parser_queue_thumbnailing

Field Documentation

◆ on_ended

void(* libvlc_thumbnailer_cbs::on_ended) (void *opaque, libvlc_parser_task *task, libvlc_picture_t *picture)

Callback prototype that notify when a thumbnailer request finishes.

Note
Mandatory (can't be NULL), available since version 0
Parameters
opaqueopaque pointer set in cbs_opaque
taskopaque handle returned by libvlc_parser_queue_thumbnailing()
picturegenerated thumbnail, the picture is only valid from this callback, it can be held separately with libvlc_picture_retain(). NULL in case of an error, timeout or request was cancelled.

◆ version

uint32_t libvlc_thumbnailer_cbs::version

Version of struct libvlc_thumbnailer_cbs.


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