[vlc-commits] [Git][videolan/libvlcpp][master] Media: Remove `thumbnailRequestCancel`

Thomas Guillem (@tguillem) gitlab at videolan.org
Mon Jan 30 16:23:02 UTC 2023



Thomas Guillem pushed to branch master at VideoLAN / libvlcpp


Commits:
e1a03b37 by Alaric Senat at 2023-01-30T14:16:44+01:00
Media: Remove `thumbnailRequestCancel`

Cancelling usage have been merged with `thumbnailRequestDestroy`.

Refs videolan/vlc!3153

- - - - -


1 changed file:

- vlcpp/Media.hpp


Changes:

=====================================
vlcpp/Media.hpp
=====================================
@@ -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 );



View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/commit/e1a03b37cb104f4086e2a49aedc18339f31b4d6c

-- 
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/-/commit/e1a03b37cb104f4086e2a49aedc18339f31b4d6c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list