Skip to content
Snippets Groups Projects
Commit e1a03b37 authored by Alaric Senat's avatar Alaric Senat
Browse files

Media: Remove `thumbnailRequestCancel`

Cancelling usage have been merged with `thumbnailRequestDestroy`.

Refs vlc!3153
parent 0116906d
No related branches found
No related tags found
1 merge request!34Media: Remove `thumbnailRequestCancel`
......@@ -933,18 +933,12 @@ public:
}
/**
* @brief thumbnailCancel cancels a thumbnailing request
* @brief thumbnailRequestDestroy Destroy and cancel a thumbnailing request
* @param request An opaque thumbnail request object.
*
* Cancelling the request will still cause onThumbnailGenerated callback
* to be invoked, with nullptr as the picture instance.
* If the request is cancelled after its completion, the behavior is undefined.
* This will also cancel the thumbnail request, no events will be emitted after
* this call.
*/
void thumbnailRequestCancel( ThumbnailRequest* request )
{
libvlc_media_thumbnail_request_cancel( request );
}
void thumbnailRequestDestroy( ThumbnailRequest* request )
{
libvlc_media_thumbnail_request_destroy( request );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment