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

Preparser thumbnailer to file callbacks. More...

#include <vlc_preparser.h>

Data Fields

void(* on_ended )(input_item_t *item, int status, const bool *result_array, size_t result_count, void *data)
 Event received on thumbnailing completion or error.
 

Detailed Description

Preparser thumbnailer to file callbacks.

Used by vlc_preparser_GenerateThumbnailToFiles()

Field Documentation

◆ on_ended

void(* vlc_thumbnailer_to_files_cbs::on_ended) (input_item_t *item, int status, const bool *result_array, size_t result_count, void *data)

Event received on thumbnailing completion or error.

This callback will always be called, provided

vlc_preparser_GenerateThumbnailToFiles() returned a valid request, and provided the request is not cancelled before its completion.

Note
This callback is mandatory if calling vlc_preparser_GenerateThumbnailToFiles()
Parameters
itemitem used for the thumbnailer
statusVLC_SUCCESS in case of success, VLC_ETIMEOUT in case of timeout, -EINTR if cancelled, an error otherwise. A success mean that an image was generated but it is still possible that the export failed, check result_array to assure export were successful.
arrayof results, if result_array[i] is true, the outputs[i] from vlc_preparser_GenerateThumbnailToFiles() succeeded.
result_countsize of the array, same than the output_count arg from vlc_preparser_GenerateThumbnailToFiles()
dataopaque pointer passed by vlc_preparser_GenerateThumbnailToFiles()

Referenced by vlc_preparser_GenerateThumbnailToFiles().


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