[vlc-commits] [Git][videolan/libvlcpp][master] Media: Expose crop parameter
Hugo Beauzée-Luyssen
gitlab at videolan.org
Fri Jun 21 14:19:50 CEST 2019
Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / libvlcpp
Commits:
56e739fd by Hugo Beauzée-Luyssen at 2019-06-21T12:06:57Z
Media: Expose crop parameter
- - - - -
1 changed file:
- vlcpp/Media.hpp
Changes:
=====================================
vlcpp/Media.hpp
=====================================
@@ -753,21 +753,21 @@ public:
};
ThumbnailRequest* thumbnailRequestByTime( libvlc_time_t time, ThumbnailSeekSpeed speed,
- uint32_t width, uint32_t height,
+ uint32_t width, uint32_t height, bool crop,
Picture::Type type, libvlc_time_t timeout )
{
return libvlc_media_thumbnail_request_by_time( *this, time,
static_cast<libvlc_thumbnailer_seek_speed_t>( speed ), width,
- height, static_cast<libvlc_picture_type_t>( type ), timeout );
+ height, crop, static_cast<libvlc_picture_type_t>( type ), timeout );
}
ThumbnailRequest* thumbnailRequestByPos( float pos, ThumbnailSeekSpeed speed,
- uint32_t width, uint32_t height,
+ uint32_t width, uint32_t height, bool crop,
Picture::Type type, libvlc_time_t timeout )
{
return libvlc_media_thumbnail_request_by_pos( *this, pos,
static_cast<libvlc_thumbnailer_seek_speed_t>( speed ), width,
- height, static_cast<libvlc_picture_type_t>( type ), timeout );
+ height, crop, static_cast<libvlc_picture_type_t>( type ), timeout );
}
/**
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/commit/56e739fd52fc7e64d050b4ac5bf4952dd46f35ce
--
View it on GitLab: https://code.videolan.org/videolan/libvlcpp/commit/56e739fd52fc7e64d050b4ac5bf4952dd46f35ce
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list