VLC 4.0.0-dev
|
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. | |
Preparser thumbnailer to file callbacks.
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.
item | item used for the thumbnailer |
status | VLC_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. |
array | of results, if result_array[i] is true, the outputs[i] from vlc_preparser_GenerateThumbnailToFiles() succeeded. |
result_count | size of the array, same than the output_count arg from vlc_preparser_GenerateThumbnailToFiles() |
data | opaque pointer passed by vlc_preparser_GenerateThumbnailToFiles() |
Referenced by vlc_preparser_GenerateThumbnailToFiles().