|
VLC 4.0.0-dev
|
Preparser thumbnailer to file callbacks. More...
#include <vlc_preparser.h>
Data Fields | |
| void(* | on_ended )(vlc_preparser_reqvlc_preparser_req *req, 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) (vlc_preparser_reqvlc_preparser_req *req, int status, const bool *result_array, size_t result_count, void *data) |
Event received on thumbnailing completion or error.
This callback is invoked exactly once for each request successfully submitted with vlc_preparser_Submit().
In case of failure, timeout or cancellation, result_array will be NULL and result_count will be 0.
| req | request handle returned by vlc_preparser_req_NewThumbnailToFiles() |
| 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. |
| result_array | array of results, if result_array[i] is true, the outputs[i] from vlc_preparser_req_NewThumbnailToFiles() succeeded. NULL if the status is not VLC_SUCCESS. |
| result_count | size of the array, same than the output_count arg from vlc_preparser_req_NewThumbnailToFiles(), or 0 if the status is not VLC_SUCCESS |
| data | opaque pointer passed by vlc_preparser_req_NewThumbnailToFiles() |
Referenced by preparser_Cancel(), preparser_req_NewThumbnailToFiles(), ThumbnailerRun(), and ThumbnailerToFilesRun().